Changing Java Preferences
Step 1. Go to Finder->Utilities->Java and open Java PreferencesStep 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 TerminalStep 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
Enjoy!
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.