How do I uninstall Java on my Mac? The following PC6 the Apple mesh to bring you how to uninstall on the Mac installed Java detailed tutorial, mainly by the following two ways:
One, uninstall Oracle java by removing Java plugin files
Note: Uninstalling Oracle Java involves removing the Java plug-in file Javaappletplugin.plugin. To uninstall Java, you must have administrator privileges.
1. Click the Finder icon located in the docking bar
2. Click the Applications tab in the sidebar
3. In the search box, enter Javaappletplugin.plugin
4. This command will find the Javaappletplugin.plugin file
5. Right-click Javaappletplugin.plugin and select Move to Trash
Ii. Alternative methods for uninstalling Oracle Java using a terminal
Note: The workaround for uninstalling Java 7 and later applies to advanced users who are able to enter commands skillfully in a terminal window. To uninstall Java 7 and later, you must have administrator privileges and must execute the delete command as root or with sudo.
1. Click the Finder icon located in the docking bar
2. Click the Applications tab in the sidebar
3. Click the Utilities folder
4. Double-click the terminal icon
5. In the terminal window, copy and paste the command:
sudo rm-fr/library/internet plug-ins/javaappletplugin.plugin