• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Helping Setting JDK 1.6 in Leopard

 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nathan, thank you so much!

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


Happy programming...
 
Douglas Graham
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you notice an increase in performance? I installed 1.6 this evening. Netbeans is now much faster. Yes!
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic