How to uninstall java on macOS
- Click on the Finder icon located in your dock
- Click on the Utilities folder
- Double-click on the Terminal icon
- In the Terminal window Copy and Paste the commands below:
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -fr ~/Library/Application\ Support/Oracle/Java
- restart the mac do NOT install a new version of java until the mac has been restarted.
Was this article helpful?