Q: How do I make java 8 the default with os x 10.9.5
I have installed java 8 on OS 10.9.5 and it now appears in System Preferences. However, when I type the following in the command line:
java -version
it shows that I am using version 6:
java version "1.6.0_65"
How can I make version 8 the default? Thanks.
Posted on Oct 6, 2014 8:49 PM
by baltwo,Solvedanswer
Try
/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
That should give you:
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
If so, it's the default when needing SE 7 or 8.
Posted on Oct 7, 2014 1:30 PM