0% found this document useful (0 votes)
45 views

How Do I Uninstall Java On My Mac?: Download Help

1) To uninstall Java on a Mac, use the Java Uninstall Tool available from Oracle's website or follow the Terminal commands provided. 2) The Terminal commands remove Java-related files and directories from the system. 3) It is also possible to restore the previous Apple Java 6 version after uninstalling Oracle Java by following Apple's instructions.

Uploaded by

AS
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

How Do I Uninstall Java On My Mac?: Download Help

1) To uninstall Java on a Mac, use the Java Uninstall Tool available from Oracle's website or follow the Terminal commands provided. 2) The Terminal commands remove Java-related files and directories from the system. 3) It is also possible to restore the previous Apple Java 6 version after uninstalling Oracle Java by following Apple's instructions.

Uploaded by

AS
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Search

Download (/inc/BrowserRedirect1.jsp?locale=en) Help (/en/download/help/)

Help Resources (?printFriendly=true)


(/en/download
How do I uninstall Java on my Mac?
/help/index.xml)

Installing Java
(/en/download
/help/index_installing.xml)This article applies to:
Disable Java
(/en/download Platform(s): macOS
/help/disable_browser.xml)
Using Java
(/en/download
/help/index_using.xml) macOS Users: Improve the security of your computer by checking for an out-of-date
General Questions version of Java and removing it by using the Java Uninstall Tool (/en/download
(/en/download /uninstalltool.jsp) .
/faq/index_general.xml)
» Learn more about the Java Uninstall tool (/en/download
Mobile Java /faq/macOS_uninstaller_toolfaq.xml)
(/en/download
/faq/index_mobile.xml)
Security
(/en/security/)
Uninstall Oracle Java using the Terminal
Support Options
(/en/download
Note: To uninstall Java, you must have Administrator privileges and execute the remove
/support.jsp)
command either as root or by using the sudo tool.

Remove one directory and one file (a symlink), as follows:

1. Click on the Finder icon located in your dock


2. Click on Go in the Finder menu
3. Click on Utilities
4. Double-click on the Terminal icon
5. 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/Oracle/Java

Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is
part of the system software and any changes will be reset by Apple the next time you perform
an update of the OS.

Note: After successfully uninstalling Java, you may remove Java Deployment cache using these
instructions (/deploymentcache/) .

Can I restore Apple Java 6 after uninstalling Oracle Java?

Yes, see the instructions on the Apple website Restore Apple Java 6 (http://support.apple.com
/kb/HT5559?viewlocale=en_US) . If you have JDK 7 or later versions installed on your system and
you want to restore Apple Java 6, then those JDK versions need to be uninstalled first. See the
instructions to Uninstall JDK (http://docs.oracle.com/javase/8/docs/technotes/guides/install
/mac_jdk.html) .

MORE TECHNICAL INFORMATION

Uninstall JDK

To uninstall JDK 7 and later versions, you must have Administrator privileges and execute the
remove command either as root or by using sudo. See the instructions to Uninstall JDK
(https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html#A1096903) .

You might also be interested in:

Mac OS X information for installing and using Java (/en/download/faq/java_mac.xml)


How do I install Java for my Mac? (/en/download/help/mac_install.xml)
Where is the Java Control Panel on Mac? (/en/download/help/mac_controlpanel.xml)
How do I clear Java cache on my Mac? (/en/download/help/mac_java_cache.xml)
How do I Update Java for my Mac? (/en/download/help/mac_java_update.xml)

You might also like