How do I uninstall Java on my Windows computer?
This article applies to:
- Platform(s): Windows 10, Windows 8, Windows 7, Windows XP, Windows 11

» Learn more about the Java Uninstall tool
» Troubleshooting - Uninstaller tool
Manual Uninstall
You can uninstall older versions of Java manually in the same way as you would uninstall any other software from your Windows computer.
Older versions of Java may appear in the program list as J2SE, Java 2, Java SE or Java Runtime Environment.
Windows 11 - Uninstall Programs
- Click Start
- Select Settings
- Select System
- Select Apps - Apps & features
- Select the program to uninstall and then click its Uninstall button.
- Respond to the prompts to complete the uninstall
Windows 10 - Uninstall Programs
- Click Start
- Select Settings
- Select System
- Select Apps & features
- Select the program to uninstall and then click its Uninstall button.
- Respond to the prompts to complete the uninstall
Windows 8 - Uninstall Programs
- From the Start screen, enter Control Panel in the Search box. Select the Control Panel.
- When the Control Panel appears, choose Uninstall a Program from the Programs category.
- Select the program to uninstall, and then right-click and select Uninstall or you can click the Uninstall option located at the top of the programs list.
- Click Yes to confirm the program uninstall.
Windows 7 and Vista - Uninstall Programs
- Click Start
- Select Control Panel
- Select Programs
- Click Programs and Features
- Select the program you want to uninstall by clicking on it, and then click the Uninstall button.
You may need administrator privileges to remove programs.
Windows XP - Uninstall Programs
- Click Start
- Select Control Panel
- Click the Add/Remove Programs control panel icon
- 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.
Troubleshooting
If you run into issues removing Java, run the Microsoft utility to repair corrupted files and registry keys that prevents programs from being completely uninstalled or blocking new installations and updates.
RELATED INFORMATION
Windows
- Windows 10, Windows 11 Uninstall Programs (Microsoft)
- Windows 8, Windows 7 Uninstall Programs (Microsoft)