How to set default java version?

ogross74

Registered
Hi there. I downloaded the latest Java (1.5) and set the 5.0 as my 'default' JDK in the Application->Utilities->java...
Nevertheless thisis what I get:

$ /Library/Java/Home/bin/java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)

And

$ /System/Library/Frameworks/JavaVM.framework/Home/bin/java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)


Can anyone explain?
 
Go to your folder /Applications/Utilities/J2SE 5.0/ and double click on Java Preferences. Oncer that comes up use the pull down menu (in Java Preferences) and select J2SE 5.0. Also look at the bottom window in Java Preferences and drag J2SE 5.0 above J2SE 1.4.2. You know are running 5.0.
 
Back
Top