How to uninstall Java on Mac

Asya Karapetyan
Content marketer, who specializes in Mac how-to guides
May 1, 2024
7 minutes to read

Java is a plug-in that extends the functionality of web browsers. Its installation is quite simple. However, subsequent removal of the software without proper knowledge can cause problems. Today, we will tell you about three methods on how to uninstall Java from Mac correctly and safely. removing Java on Mac

Contents:

  1. How to manually uninstall Java.
  2. How to delete Java using the Terminal command line.
  3. How to uninstall Java using App Cleaner & Uninstaller.

The quickest way to remove Java

If you don’t have time to read this article and just want a quick solution, use App Cleaner & Uninstaller from Nektony. This uninstaller will safely and completely delete Java with just two simple clicks. You can use this download link for a free trial of the uninstaller.
App Cleaner Uninstaller icon

App Cleaner & Uninstaller

Free Download

Video Guide


Removing Java from Mac manually

Java is not a standard application, so it does not appear either in the Launchpad or in the Applications folders. The only place where you can see it is System Settings. Java in Mac System Settings

How to uninstall Java using its installation file:

  1. Run the Java installation file. By default, it should be located in the Downloads folder. If you can’t find it on your disk, you can download it from the official developer’s website.
  2. Click on the package file and enter your user password to continue.
    Java installation window
    popup requiring permission to continue with Java
  3. In the next window, click the Remove button.
  4. In a few seconds, the software will be removed from your computer. You will see a message about its successful removal.Java update window

If for any reason you can’t run the app’s installation file or you face an issue when trying to completely remove Java from your Mac, using the mentioned above steps, don’t worry. You can delete Java right from the System Settings. Here’s how:

  1. Open System Settings. You can find it in the Apple menu or in Launchpad.
  2. Scroll down the right panel to locate the Java icon.
  3. Right-click on the icon and click Remove Java settings pane.
  4. Removing Java settings pane
  5. Open Finder and go to the Applications folder
  6. In the Finder’s search field type Java and press Enter.
  7. Find the JavaAppletPlugin.plugin file and remove it into the Trash.

Now Java is completely uninstalled from your machine.


How to delete Java using Terminal command line

Another way for Java removal is to use a special command in Terminal. Terminal is a default macOS application that you can find in the Launchpad or in the Applications folder.

  1. Launch the Terminal application.
  2. Enter the following command and press Enter:

    sudo rm -fr /Library/Inte*rnet\ Plu*g-Ins/JavaAppletPlugin.plugin

  3. Enter the password of your account (the account must have administrator privileges).

Terminal command to remove Java

Java will be removed from your computer.


The quickest way to uninstall Java on Mac

Now we would like to share the quickest and safest way to uninstall applications and extensions on your computer. For this, you can use App Cleaner & Uninstaller from Nektony. App Cleaner & Uninstaller automatically finds applications and all their service files, as well as different types of extensions, such as plugins, preferences panes, web browser extensions and allows you to uninstall any of them with just a few clicks. Here’s how to use the app:

  1. Launch App Cleaner & Uninstaller.
  2. Go to the Extensions tab → Preference Panes section.
  3. Select Java and click the Remove button.
  4. Confirm the action.


 App Cleaner & Uninstaller showing Java
With App Cleaner & Uninstaller you can find all extensions installed on your Mac and easily remove unneeded ones. The uninstaller software allows yo to remove any versions of Java from your system.



Scroll to Top