View Full Version : JAVA_HOME is 1.5, but java -version is 1.6

Jul 14, 2009, 09:50 AM
Do I need to change something?

When I check java -version I get:

java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)

But when I got to /Library/Java, right click on the Home alias and select Show Original it takes me to the 1.5 folder. So I'm wandering if I should change my home ailas.

BTW I'm on OS X 10.5.7

Jul 14, 2009, 11:21 AM
The current version of Java is actually mapped via /System/Library/Frameworks/JavaVM.framework/Versions/Current

If you look at what that is linked to, that will be the version of Java that gets run.