• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Helping Setting JDK 1.6 in Leopard

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic