Tutorial – Uninstall Java On Mac

Do you want to Uninstall Java on Mac? Lots of Mac users don’t want Java on their PC, but if you happen to have Java installed and need to erase it from a Mac then you can uninstall JRE or Java with a little effort.

However, uninstalling JRE or Java from Mac is quite complex than installing it. Because there is no dedicated uninstaller tool or app. Also, it’s not as easy as uninstalling other Mac apps as the components are divided into different locations. Rather than, you’ll turn to the command line, or dig around the Finder and file system to erase Java in Mac OS. We’ll display you how to erase java using both techniques.

Remember that after erasing Java you will lose the ability to execute some and all Java apps. Not just this but also you lose Java dependent apps and applets, either standalone, individually, or via the web. You don’t want to uninstall Java if an app or web app you use needs Java. Another choice would be to just turn off Java, which disables it but can’t erase it from the PC.

How To Uninstall Java on the Mac

Uninstall Java On Mac

Erasing Java from the Mac is a three-step effort involving manually removing different java plug-ins and files found in macOS / Mac OS / Mac OS X. They are present both in the system /Library folder and in the user’s ~/Library folder. You should always recover your Mac before erasing any item found within a system directory. Here is what you’ll need to do and look for through the Finder:

Step 1:

Initially, quit any active web browser or any other app that uses Java.

Step 2:

From the Mac Finder, simply pull down the “Go” menu and select “Go To Folder” and input the following path:

/Library/Internet Plug-ins/

Step 3:

Then located and remove “JavaAppletPlugin.plugin” from this folder – note moving this item to the trash needs an admin login.

Step 4:

Then head back to the ‘Go’ menu and “Go To Folder” and input the following path:

/Library/PreferencePanes/

Step 5:

Locate and remove again “JavaControlPanel.prefPane” from this folder and then you want an admin login

Step 6:

Also, return to the “Go” menu and “Go To Folder” to the following path:

~/Library/Application Support/Java/

Step 7:

Erase the “Java” folder

Step 8:

Simply empty the Trash on the Mac as usual

Java will be erased completely this way.

The Finder based approach is the simplest and safer way to uninstall Java from a Mac. However, Mac users also erase Java and JRE through the command line as well.

Uninstall Java and JRE via Mac OS Command Line

You can also uninstall Java from the command line after using the rm command. Well, it aimed for advanced users who know the results of using rm with superuser rights. It’s not for novice users, that use the command line need precise syntax, and failure to use exact syntax might result in wrong commands or unintended data loss.

Uninstall Java

One by one, run each of the following commands individually:

  • sudo rm -rf "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin"
  • sudo rm -rf "/Library/PreferencePanes/JavaControlPanel.prefPane"
  • sudo rm -rf "~/Library/Application Support/Java"

This needs authenticating with sudo. But you have the syntax 100% accurate, if you do not know if the syntax is accurate do not run the commands, and instead, you’d likely like to use the Finder based approach of uninstalling java.

Remember that whether you uninstall JRE or Java by command line or through Mac Finder GUI. Then consequences are the same, you are specifically erasing the control panels, Java plugins, and application compatible for Java from the Mac.

Conclusion:

Here’s all about “Uninstall Java On Mac”. I hope this article helped you to fix the issue. If you think that it is helpful then do let us know your suggestions in the comment section below. Do you know any other method that you think we can’t mention in this article? Comment us below and stay tuned with us! If you still find any issue then ask us!

Also Read:

Leave a Comment

Scroll to Top