1
0
when I type java -version
I still get the Early Access version and not the stable JDK 7u10. please how to fix that ? I am working on Mac OS X Mountain Lion.
ls /System/Library/Frameworks/JavaVM.framework/Versions
- 1.5.0
- 1.6
- 1.6.0
- A <-- ?
- Current <-- ?
- CurrentJDK <-- ?
What the ? stands for please ?
/usr/libexec/java_home -V
Matching Java Virtual Machines (3):
1.7.0_10, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home
1.6.0_37-b06-434, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_37-b06-434, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home
The problem is java -version
--> java version "1.7.0_10-ea"
EA !
The worst is that /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/bin/java -version
show me the EA.
1Check your system path. I am betting that the newer JDK is not part of the path statement yet. – Hovercraft Full Of Eels – 2012-12-20T21:58:13.293
check what exactly please ? – IamaTacos – 2012-12-20T21:58:54.633
I found this interesting folder :
/System/Library/Frameworks/JavaVM.framework
– IamaTacos – 2012-12-20T22:01:45.367@HovercraftFullOfEels ... ? – IamaTacos – 2012-12-20T22:05:33.167
What OS are you working on? If windows, then open a command window, and type in
path<return>
– Hovercraft Full Of Eels – 2012-12-20T22:08:27.753I am working on MAc OS X Mountain Lion – IamaTacos – 2012-12-20T22:10:32.450
I made an
echo $PATH
– IamaTacos – 2012-12-20T22:10:49.797What does
/usr/libexec/java_home -V
have to say? – Ian Roberts – 2012-12-20T22:12:31.233I updated my post – IamaTacos – 2012-12-20T22:17:33.010