How do I uninstall Java on my Mac?

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.