Jump to content



Photo

Changing default JRE in Mountain Lion

osx

  • Please log in to reply
2 replies to this topic

#1 CPressland

CPressland

    www.absolute.com

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

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?

Thanks

Chris


#2 einsteinbqat

einsteinbqat

    Neowinian

  • 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

Amethon

    Resident One Post Wonder

  • Joined: 14-January 13
  • OS: OS X
  • Phone: iPhone 4S

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:
http://weblogs.java....o_remove_j.html

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



Click here to login or here to register to remove this ad, it's free!