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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Mac OS
Reply 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...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Helping Setting JDK 1.6 in Leopard
 
Similar Threads
PATH and CLASSPATH
How to install mutiple Java OS's on Mac?
Java Problem running on Teminal in Mac OS X Leopard
How to uninstall / override previous Maven version on OS X Leopard?
MacOS 10.5.8 browsers and Java 1.6