After upgrading my work notebook from Mountain Lion (10.8.5) to the Mavericks (10.9.4) this weekend, everytime I open the terminal I now get the following error message:

Unable to find any JVMs matching version "1.6"

I don't have Java 6 installed, some tool that is run at the beginning of a shell session must rely on it though.

How can I find out what is the root of this problem? Please tell me if I can provide more information for troubleshooting.

  • 1
    What was your previous OSX version? – ssssteffff Aug 4 '14 at 8:50

Mac OSX Mavericks installer removes previous installed versions of Java. You probably have a reference to Java 6 in your .bash_profile file (or so). It would explain the message on Terminal start-up.

Latest versions of Java (from Java 7) are directly supported by Oracle (you can find installation instructions on Java.com : How do I install Java for my Mac).

Previous versions (Java 6 included) are supported by Apple. If you want to install Java 6, download Java for OS X 2014-001 patch directly from Apple website.

Note : you can find useful information about Java and Mac OS X compatibility on this Java FAQ.

| improve this answer | |
  • You're welcome, glad it helped. – ssssteffff Aug 4 '14 at 9:19
  • With me, the reference was in ~/.zprofile – Alex Feb 20 '17 at 8:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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