Java.com

Download Help

Instructions for Uninstalling Java

The instructions below will help you manually remove a version of Java.

The instructions below are to remove a single version of Java from your system. If you would like to remove more than one version please repeat the steps for each version you want to remove.

Note: You should only follow these instructions if you personally own the system in question. For Company-owned systems please contact your company for instructions.

Removing all versions of Java might cause some applications to stop working. We would recommend installing an up-to-date JRE to run Java applications and contacting the application vendor if some application will not run with the most current version.

Uninstall Instructions

Older releases:

You can uninstall Java in the same way as you would uninstall any other software from your computer. You may need administrator privileges to remove programs.

Java may appear in the program list as J2SE, Java 2, Java SE or Java Runtime Environment.


Windows 10

  1. Click on the Windows icon at bottom-left corner of the screen.
  2. Click on the Settings.
  3. In the Settings window, start typing Control Panel in the search box.
  4. When the Control Panel appears in Search results click on it to open.
  5. Choose Uninstall a Program from the Programs category.
  6. Select the program to uninstall and then click its Uninstall button.
  7. Click Yes to confirm the program uninstall.

Windows 8

  1. Right-click on the screen at bottom-left corner and choose the Control Panel from the pop-up menu.
  2. When the Control Panel appears, choose Uninstall a Program from the Programs category.
  3. Select the program to uninstall and then click its Uninstall button.
  4. Click Yes to confirm the program uninstall.

Windows 7

  1. Click Start
  2. Select Control Panel
  3. Select Programs
  4. Click Programs and Features
  5. Select the program you want to uninstall by clicking on it, and then click the Uninstall button.

macOS

Note: To uninstall Java, you must have Administrator privileges and execute the remove command either as root or by using sudo.

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.

After removing Java, we also recommend that you clear the Java Deployment Cache.

Windows Vista

  1. Click Start
  2. Select Control Panel
  3. Select Programs
  4. Click Programs and Features
  5. Select the program you want to uninstall by clicking on it, and then click the Uninstall button.

Windows XP

  1. Click Start
  2. Select Control Panel
  3. Click the Add/Remove Programs control panel icon
  4. The Add/Remove control panel displays a list of software on your system, including any Java software products that are on your computer. Select any that you want to uninstall by clicking on it, and then click the Remove button.

Windows 2000

  1. Click Start
  2. Select Control Panel
  3. Click the Add/Remove Programs control panel icon
  4. The Add/Remove control panel displays a list of software on your system, including any Java software products that are on your computer. Select any that you want to uninstall by clicking on it, and then click the Remove button.

Windows 98

  1. Click Start, point to Settings, and then click the Control Panel.
  2. On the Install/Uninstall tab, click the Java version you want to uninstall, and then click Add/Remove.
  3. When you are prompted to continue with the Uninstall, click Yes.

Windows ME

  1. Click Start, point to Settings, and then click the Control Panel.
  2. In the Control Panel, double-click the Add/Remove Programs.
  3. On the Install/Uninstall tab, click the Java version you want to uninstall, and then click Add/Remove.
  4. When you are prompted to continue with the Uninstall, click Yes.

Having trouble uninstalling Java?

If you are still having trouble uninstalling out-of-date Java versions, you can request further help.


Select Language | About Java | Support | Developers | Feedback
Privacy  | Terms of Use | Trademarks | Disclaimer

Oracle