Changing default JRE in Mountain Lion


Recommended Posts

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)
[/CODE]

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

Thanks

Chris

Link to comment
Share on other sites

  • 2 weeks later...

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)[/CODE]

Link to comment
Share on other sites

This topic is now closed to further replies.