Information about the Java Uninstall Tool for Windows

The Java Uninstall tool helps you improve your computer security by simplifying the process of finding and uninstalling versions of Java. The Uninstall tool shows you a list of the Java versions on your computer and then allows you to select which versions to remove.

Highlights of the Java Uninstall tool

  • Versions of Java detected will be presented to the user for removal
  • The user can choose to remove all or select specific versions of Java to remove
  • Works on Windows operating systems
  • Detects and allows removal of Java versions 1.4.2 and higher.
  • Only Java versions installed using the Java installer are detected. If Java is bundled with any application that uses its own installer, that version of Java will not be offered for removal.

System Requirements

Operating system: Windows
Windows Vista, Windows 7, Windows 8, Windows 10, Windows Server 2008 R2, Windows Server 2012
Browsers: Not browser specific
Java version: Can remove Java versions 1.4.2 and above.
Does not require Java to run the tool.
Other: Tool must be run online - see note

Java Uninstall Tool Update. The modified tool no longer requires Java. The previous tool ran as a Java applet. We recommend that you update bookmarks to the latest version of the Uninstall Tool


How does the Java Uninstall tool work?

  1. The tool web page checks to see that you are on a supported system (Windows), and if not, you will see a message that indicates your system is not supported and provides links to manual uninstall instructions.
  2. After agreeing to the terms of use for the tool, you will be downloading the executable, JavaUninstallTool.exe.
  3. When the tool is started, you may be presented with the Windows User Account Control (UAC) dialog asking if you would like to run the Java Uninstall Tool. If you see this prompt, click the Run button to load the tool.
  4. The tool checks to see if there are Java versions that can be removed. If there are none, you will see a message that there are no versions of Java on your computer, otherwise you will be presented with a list of versions and if you click Uninstall Selected Versions, the process to remove them begins.
  5. While Java versions are being uninstalled, a progress bar is displayed.
  6. When the uninstallation of all selected Java versions has completed, this tool will list successfully uninstalled Java versions and any remaining out-of-date and up-to-date Java versions. If all the selected versions could not be uninstalled successfully, a message with list of failed versions will be displayed. Uninstalled versions are also written to a log file, along with any errors encountered when running the tool.

Why does the tool require an internet connection?

The tool requires an internet connection because it checks for the latest version of the tool.

If you use a proxy to access the internet, ensure that your proxy is correctly set in your Windows Control Panel under Internet Options or Network and Internet (Windows 10).

How do I access the Java Uninstall tool?

The tool is available on the Java Uninstall tool web page.

On Windows platforms:
  1. Review the terms of use for the tool
  2. Click the I Agree to the Terms and Want to Continue button to download the tool
    Browser download information provided below
  3. Click the downloaded file to start the tool
    When you first run the app, a User Account Control (UAC) prompt appears asking, 'Do you want to allow this app to make changes to your PC?' The Java Uninstall Tool will be listed. Click Yes to allow the app to run.

Does the tool remove the latest installed Java version?

Yes. The tool can remove versions 1.4.2 and above, on Windows.
If you would like to completely remove Java from your computer on other systems, see
How do I uninstall Oracle Java on Mac?
How do I uninstall Java on Linux?

How do I remove a version below 1.4.2?

If you find an error or need to remove a version below 1.4.2, you can manually uninstall Java.

Can I restore versions removed using the uninstall tool?

No. If you have uninstalled a version that you find is needed on your system, it will need to be reinstalled. Refer to the Java Archive for older versions.

Will the Java Development Kit (JDK) be removed by the Uninstall tool?

No. The tool does not remove installations of the Java Development Kit (JDK).

Why can't I view the Terms of Use for the Uninstall tool?

It is possible that the user has configured the browser to not allow pop-ups. Some browsers interpret the link on the page as a pop-up. To view Terms of Use, allow pop-ups from java.com, then click the link again.

What should I do if I encounter an error while trying to uninstall Java using the tool?

If a Java version fails to uninstall, a warning will be written to the log file. For example,
WARNING: Failed to uninstall: Java 8 Update 91, ErrorCode: 1605

The error code is related to Windows MSI error codes.

The log file will be located in a Temp folder:
C:\Users\<username>\AppData\Local\Temp\JavaUninstallTool.log

MSI error message information

Descriptions of the Windows MSI error codes can be found on the Microsoft site. ยป MSI error messages (microsoft.com)

Report an issue

To report an issue about the Java Uninstall tool, please let us know using the Issue Reporting page.


Uninstaller Tool - Troubleshooting

If you run into issues removing Java using the Java Uninstaller Tool, these options have helped other users.

Restart system and retry the Java Uninstaller Tool

Save your work and close down applications, before restarting your system, then launch the Uninstaller Tool.

Manually uninstall Java using the Windows Add/Remove programs

If there are versions that could not be removed using the tool, you can manually remove versions similar to removing other software programs.

Run the Microsoft utility

Run the Microsoft utility to repair files and corrupted registry keys that prevents programs from being completely uninstalled or blocking new installations and updates.


Downloading and running the tool

Accessing the downloaded executable file differs according to which browser is used.

Chrome

After the file is downloaded in Chrome, look to the bottom of the Chrome browser and click on the downloaded JavaUninstallTool.exe file to start the application.

Chrome info bar confirming file was downloaded


Internet Explorer

At the bottom of the Internet Explorer browser, a prompt appears: 'Do you want to run or save JavaUninstallTool.exe?' Click Run to start the app, or click Save to download and run the file later.

Chrome info bar confirming file was downloaded


Edge

After downloading the file in Edge, click Run to start the application, or you can run the file later from the Downloads folder.

Chrome info bar confirming file was downloaded


Firefox

Firefox will prompt to save the JavaUninstallTool.exe file, or cancel opening the file. Click Save File then save to a preferred location. After the file is downloaded, click on the saved file to launch the app.

Chrome info bar confirming file was downloaded


Respond to the User Account Control prompt

Depending on your settings, when you try to run the app, a User Account Control (UAC) prompt may appear asking, 'Do you want to allow this app to make changes to your PC?' The Java Uninstall Tool will be listed.

By default removing versions of Java requires administrative permissions, so click Yes to allow the app to run. If you are not running as an administrator, you will need to choose an administrator account and enter the admin password. If you do not have administrative permissions you will be unable to use the tool.

Chrome info bar confirming file was downloaded