Java.com

Download Help

Printable Version

How do I uninstall Java 7 and later versions on my Mac?


This article applies to:
  • Platform(s): Macintosh OS X
  • Java version(s): 7.0, 8.0

Uninstall Oracle Java by deleting the Java Plugin file

Uninstalling Oracle Java involves deleting the Java Plugin file JavaAppletPlugin.plugin.

To uninstall Java, you must have Administrator privileges.

  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on the sidebar
  3. In the Search box enter JavaAppletPlugin.plugin
  4. This will find the JavaAppletPlugin.plugin file
  5. Right click on JavaAppletPlugin.plugin and select Move to Trash

Alternative method to uninstall Oracle Java using the Terminal

An alternative method for uninstalling Java 7 and later versions is intended for advanced users familiar with entering commands in a Terminal window.

To uninstall Java 7 and later versions, you must have Administrator privileges and execute the remove command either as root or by using sudo.

Following the steps listed will uninstall Oracle Java from your system using a Terminal.
  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on sidebar
  3. Click on the Utilities folder
  4. Double-click on the Terminal icon
  5. In the Terminal window, copy and paste the command:
    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

Can I restore Apple Java 6 after uninstalling Oracle Java 7?

Yes, see the instructions on the Apple website Restore Apple Java 6. If you have JDK 7 or later versions installed on your system and you want to restore Apple Java 6, then those JDK versions need to be uninstalled first. See the instructions to Uninstall JDK.


MORE TECHNICAL INFORMATION

Uninstall JDK

To uninstall JDK 7 and later versions, you must have Administrator privileges and execute the remove command either as root or by using sudo. See the instructions to Uninstall JDK.


You might also be interested in:





Find expert help on Java installation and setup

Select Language | About Java | Support | Developers
Privacy | Terms of Use | Trademarks | Disclaimer

Oracle