Java version indicates SE 6, Java Control Panel SE 8

Posted by Mariogs on Super User See other posts from Super User or by Mariogs
Published on 2014-06-02T20:55:53Z Indexed on 2014/06/02 21:31 UTC
Read the original article Hit count: 452

Filed under:
|

So I'm trying to get the Java 7 as the default version on my machine, running Mac OS X 10.9.3. When I run:

java -version

I get:

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

When I run:

javac -version

I get:

javac 1.6.0_65

When I go into System Preferences --> Java --> Update, I see:

Your system has the recommended vesion of Java.

Java 8 Update 05.

I guess I have a few questions:

1) Why does my Java Control Panel claim I have Java 8, but my work in the terminal (when checking my Java version) says otherwise?

2) I just downloaded the .dmg file for Java SE 7 from Oracle's site and installed, though it's nowhere to be seen...

Thanks for the help, Mariogs

© Super User or respective owner

Related posts about mac

Related posts about java