Changing Java Version to 1.5(5.0) in Mac 10.4.6

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.


Popular posts from this blog

Induction Cooker Showing an Error Code? Induction Cooker Error Codes Explained

How to Child Lock Channels on Airtel Digital TV

LICHFL - Generating Home Loan Statements Online