Last updated: October 22, 2017
The steps below explain how to uninstall Oracle Java 7 or Java 8 from your Mac. Please note that to uninstall Java on Mac, you must have Administrator privileges. To uninstall Java on Mac, you first need to delete the Java plug-in file itself. Here is how to find the Java plug-in file:
- Click on the Finder icon in your Mac’s dock
- Click on the Applications tab in the sidebar
- In the Search box enter (or copy/paste):
- Right-click on JavaAppletPlugin.plugin and choose Move to Trash
Alternatively, if you are familiar with using the Mac’s Terminal utility with Administrator privileges as root or by using sudo, you may copy/paste the command line below to uninstall Oracle Java 7 or Java 8. You can launch Terminal by using Finder -> Applications -> Utilities. Double-click Terminal to launch it. In the terminal window, type (or copy/paste) the following command:
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
How to Restore Apple’s Java 6 after uninstalling Oracle Java 7 or Java 8
If you updated your Mac to Oracle Java 7 or Java 8, and it has created an unforeseen issue, you can still use Apple’s Java on your Mac. You just need to restore it. Before restoring Apple’s Java, however, you need to uninstall Oracle’s Java using the instructions above. Please note that to restore Apple’s Java, you must also have Administrator privileges and execute the command either as root or by using sudo.
- Click on the Finder icon located in your dock
- Click on Applications tab on sidebar
- Click on the Utilities folder
- Double-click on the Terminal icon
- In the Terminal window Copy and Paste the command below:
sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
Unless you absolutely have to have Apple’s Java, it is advisable to install Java provided by Oracle instead. It is under continuous development, and updates are released on a regular cycle. Oracle is also known to release out-of-cycle Java updates if an urgent fix is required to patch a newly discovered vulnerability.
Thank you for visiting Tech Help Knowledgebase to learn how to uninstall Java on Mac.
Image credit: Pixabay / josealbafotos