Jump to content


Changing default JRE in Mountain Lion


  • Please log in to reply
2 replies to this topic

#1 CPressland



  • Tech Issues Solved: 3
  • Joined: 16-September 06
  • Location: England
  • OS: OS X Yosemite

Posted 15 February 2013 - 10:41

Hi All,

Now that Apple are no longer truly supporting Java on OS X I've installed the Oracle JRE 7u13. This works fine from a Web Browser point of view. However, now that the Java Preferences.app no longer exists, how do I change this to the default version for local Java apps to use?

For example, currently java -version outputs:

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

How do I change this as so it uses the newer build of Java?



#2 einsteinbqat



  • Joined: 16-May 02

Posted 24 February 2013 - 16:54

Just run the Software Update from the Apple menu.

Mine shows this:

java -version
java version "1.7.0_06"
Java™ SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot™ 64-Bit Server VM (build 23.2-b09, mixed mode)

#3 Amethon


    Resident One Post Wonder

  • Joined: 14-January 13
  • OS: OS X
  • Phone: iPhone 6+

Posted 26 February 2013 - 19:44

Hello Chris,

I had to do what this guy said in this article to remove Java 6 from my Mac:

Then I had to download the new JDK and install it. Reboot and it should list the correct version in java -version.