Created
February 3, 2014 06:06
-
-
Save nsdevaraj/8779496 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Remove JDK 1.7 from the directory and place it somewhere you can find it later (Desktop) | |
sudo mv /Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk ~/Desktop/jdk1.7.0_06.jdk | |
2. Copy the Java 1.6 JDK to the old JDK 1.7 directory | |
sudo cp -R /System/Library/Java/JavaVirtualMachines/1.6.0.jdk /Library/Java/JavaVirtualMachines/1.6.0.jdk | |
3. Close the terminal and re-open it and type ‘java -version’. You should see that the Java version 1.6 is now enabled. | |
- See more at: http://www.247sw.ca/revert-to-java-1-6-jdk-on-mac-mountain-lion#sthash.NsmridQD.dpuf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment