- 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/Java
แหล่งที่มา https://www.java.com/en/download/help/mac_uninstall_java.xml