aspose file tools*
The moose likes Mac OS and the fly likes Helping Setting JDK 1.6 in Leopard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Helping Setting JDK 1.6 in Leopard" Watch "Helping Setting JDK 1.6 in Leopard" New topic
Author

Helping Setting JDK 1.6 in Leopard

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Hello again,

Need assistance with setting the JDK in OS X Leopard to 1.6.

I did the following steps:

(1) cd /System/Library/Frameworks/JavaVM.framework/Versions/

(2) rm -rf CurrentJDK

(3) ln -s 1.6.0 CurrentJDK

(4) Verified the new CurrentJDK alias by doing the following:


However, when I check the version of java from the command line, I get this:


When I checked which java this is what I got:


Has anyone set the JVM / JDK in OS X Leopard to 1.6?

Happy programming...
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

There's an app under Applications/Utilities/Java called JavaPreferences that lets you set what JRE/JDK you want to run as default, as well as various other options.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Nathan, thank you so much!

Excellent... I changed the order in the Java Preferences pane and now it works!


Happy programming...
Douglas Graham
Greenhorn

Joined: Jul 06, 2009
Posts: 10
Did you notice an increase in performance? I installed 1.6 this evening. Netbeans is now much faster. Yes!


If you don't do data, you don't do diddly!
Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
I didn't have time to check it out to that extent, per se.

NetBeans has evolved very nicely, but I am still an Eclipse guy...
 
wood burning stoves
 
subject: Helping Setting JDK 1.6 in Leopard