How to uninstall Java on Mac

Asya Karapetyan
Content marketer, who specializes in Mac how-to guides
October 6, 2023
7 minutes to read

Java is a plug-in that extends the functionality of web browsers. Java installation is quite simple. However, subsequent removal of Java 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


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

The quickest way to remove Java from Mac

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: Uninstalling Java on Mac

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 Preferences.
System Preferences window showing Java

How to uninstall Java from Mac 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 the Java installation file on your Mac, you can download it from the official developer’s website.
  2. Click on the Java 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. In a few seconds Java will be removed from your Mac. You will see a message about its successful removal.Java update window

If for any reason you can’t run the Java installation files 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 Preferences.

Steps for removing Java on Mac using System Preferences:

  1. Open Mac System Preferences. You can find it in the Apple menu or in Launchpad.
  2. Here make a right click on the Java icon.
  3. Click on Remove “Java” Preference Pane.
    System Preferences showing a command to remove Java
  4. Go to the Applications folder and in the Finder’s search field type java and press Enter.
  5. Find the JavaAppletPlugin.plugin file and remove it into the Trash.

Now Java is completely uninstalled from your Mac.

How to uninstall Java using Terminal command line

Another way for Java removal is to use a special command in Terminal. Terminal is a default Mac 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 and easiest way to uninstall Java on Mac

Now we would like to share the quickest and safest way to uninstall applications and extensions on Mac. 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.

Steps on how to uninstall Java with App Cleaner & Uninstaller:

  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 Mac.

Scroll to Top