> ## Content Index
> Fetch the complete content index at: https://helpmonks.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# MacOS X: Uninstall Java 7 and restore Java 6 (from Apple)
- URL: https://helpmonks.com/blog/macos-x-uninstall-java-7-and-restore-java-6-from-apple/
- Published: 2014-01-07T00:00:00.000Z
- Updated: 2026-04-06T20:07:18.000Z
- Description: Since many people come to this blog looking for a solution to install Java 7 on MacOS X , this page [h
- Author: Nitai
- Tags: email marketing

Since many people come to this blog looking for a [solution to install Java 7 on MacOS X](http://thenitai.com/2013/01/23/macos-x-mountain-lion-and-java-7-installation/?ref=helpmonks.com), it is kind off natural to also show how to uninstall Java 7 and restore Java 6 from Apple. Actually, all these informations are also available over at [this page](http://www.java.com/en/download/help/mac%5Funinstall%5Fjava.xml?ref=helpmonks.com), [this page](http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html?ref=helpmonks.com#uninstall), [this page](http://support.apple.com/kb/HT5559?viewlocale=en%5FUS&ref=helpmonks.com), but below you will find the shorthand version.

**Webplugin**

If you are just in need of uninstalling the Webplugin then it is as simple as going to the Terminal an issuing:

\[code\]sudo rm -fr /Library/Internet Plug-Ins/JavaAppletPlugin.plugin\[/code\]

**Remove Java 7 JDK**

Now, if you have the JDK installed you should first uninstall it **before** restoring Java 6 (believe me, doing otherwise creates a mess). In order to uninstall, we (again) use the terminal by doing:

\[code\]sudo rm -r /Library/Java/JavaVirtualMachines/jdk1.7.0\_25.jdk\[/code\]

Note: Your version might be different! If you have more then one jdk1.7.xxx in there, remove them as well.

*(Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.)*

**Restore Java 6**

Now, if you followed my guide in installing Java 7 you actually are back on Java 6 already (simply do a “java -version” in the terminal to check) if not, you have to follow the [guide by Apple to restore Java 6](http://support.apple.com/kb/HT5559?viewlocale=en%5FUS&ref=helpmonks.com).

Hope this helps.