Posted by Editor | 10/10/2011 12:08:00 p.m. | 0 comments »
Default Java version in Mac 10.4.6 is 1.4, but is pre-loaded with 1.5. Just follow the below simple steps to change your Java version to 1.5:

Changing Java Preferences

Step 1. Go to Finder->Utilities->Java and open Java Preferences
Step 2. Move Java 1.5/5.0 to the first position/Select 1.5/5.0 from the drop down
Step 3. Save and Close

Modify CurrentJDK

Step 1. Open Terminal
Step 2. Type cd /System/Library/Frameworks/JavaVM.framework/Versions/
Step 3. Type sudo ln -fhsv 1.5 CurrentJDK
Step 4. Open a new terminal
Step 5. Type java -version, you will see 1.5 as the current version


P.S. You can follow the same instructions for changing to other versions too.


No comments:

Post a Comment

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to our feed and get articles like this delivered automatically to your feed reader? Like our Facebook Page.

Recommended products for you