"Go" How to uninstall Java on Mac

Source: Internet
Author: User
Tags brew cask

How do I uninstall Java on my Mac? This article applies to:
    • Platform: Macintosh OS X
    • Java Version: 7.0, 8.0
Uninstalling Oracle Java using a terminal

Note : To uninstall Java, you must have administrator privileges, and you must perform the delete command as root or using the sudo tool.

Delete a directory and a file (symbolic link) as shown below:

    1. Click the Finder icon located in the docking bar
    2. Click the Utilities folder
    3. Double-click the terminal icon
    4. In the terminal window, copy and paste the command:
      sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
      sudo rm -fr /Library/PreferencesPanes/JavaControlPanel.prefPane
      sudo rm -fr ~/Library/Application\ Support/Java

Do not attempt to /usr/bin uninstall Java by removing the Java tool. This directory is part of the system software and Apple resets all changes the next time the update is performed on the operating system.

Note: The above is the official website uninstall step, according to the above uninstall, to enter the/library/java/javavirtualmachines from the Finder, and then delete the jdk1.8.xxx, so that the complete uninstall completed.

How do I install Java on my Mac?
Brew Cask Reinstall Java

After obtaining the Java_home configuration in the/etc/profile file

Turn from: http://blog.csdn.net/haozhugogo/article/details/54809545 pro-Test feasible.

"Go" How to uninstall Java on Mac

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.