Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have both Oracle Java 7 and Apple Java 6 installed. Apple Java 6 is disabled in Java Preferences.

Now, when I try to launch Java Preferences I get a "Cannot launch "Java Preferences - No compatible version of Java 1.5+ is available." error:

Java Preferences error

This is the output of /usr/libexec/java_home -V:

Matching Java Virtual Machines (1):
    1.7.0_05, x86_64:   "Java SE 7" /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home


Besides the (Oracle) 1.7.0.jdk folder, /System/Library/Java also contains a 1.6.0_31-b04-413.jdk folder.

share|improve this question
With more recent distributions of Java from Apple and Oracle, the question is no longer applicable; an update from Apple explicitly removes Java Preferences from the Utilities folder. – Graham Perrin May 26 '13 at 5:37

Java for OS X 2012-004 isn’t available any longer. But 2012-005 solved the issue for me.

share|improve this answer no longer refers to 2012-005. DL1572 is currently for Java for OS X 2013-003. – Graham Perrin May 26 '13 at 5:36

You need to install Apple's Java package. Currently, the latest version is 2013-001

share|improve this answer
Java for OS X 2012-006 removed Java Preferences, readers should not expect Apple's more recent distribution to reinstall the app. – Graham Perrin May 26 '13 at 5:41
up vote 0 down vote accepted

I've solved it by installing Java for OS X 2012-004 from Apple.

share|improve this answer is not found, error 404. – Graham Perrin May 26 '13 at 5:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.