How to uninstall Java JDK on Mac OS X?

Java

Video is ready, Click Here to View ×


This video will describe about How to uninstall Java JDK on Mac OS X?.
Here are the commands used in Terminal.

Just to remove only the JDK
1. sudo rm -rf /Library/Java/JavaVirtualMachines/(INSTALLED_JDK_FOLDER_NAME)

Remove all associated Plugins/Files
1. sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
2. sudo rm -rf /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
3. sudo rm -rf /Library/Application Support/Oracle/Java
4. sudo rm -rf…

Leave a Reply

Your email address will not be published. Required fields are marked *