Uninstall Java from Windows
Open Settings, System, Apps and features (Installed apps on Windows 11), pick each Java entry and choose Uninstall. Oracle says older versions can be listed as J2SE, Java 2, Java SE or Java Runtime Environment, so look for all of them. If removal fails, Microsoft's program install and uninstall troubleshooter can repair what blocks it.
Checked November 10, 2026 against the manufacturer's own pages.
The short version
What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.
Official files only, nothing bundled
Step by step
Find out whether something needs Java
Some older tools, Minecraft setups and business software use it. If you are unsure, note what stops working after removal and be ready to reinstall.
Open the app list
Go to Settings, then System, then Apps and features on Windows 10, or Settings, Apps, Installed apps on Windows 11.
Remove every Java entry
Search the list for Java. Select each entry and click Uninstall, following the prompts. Oracle notes old releases can appear as J2SE, Java 2, Java SE or Java Runtime Environment.
Use the Java Uninstall Tool if one remains
Oracle provides the Java Uninstall Tool on its Java site to find and remove older versions. Get it only from Oracle.
Repair blocked removals and restart
If a removal fails, Microsoft offers a troubleshooter for programs that will not uninstall. Restart afterwards, then check the list again.
If it still will not go, or leaves files behind
Windows removes the program but often leaves folders, registry keys and background services. An uninstaller tool runs the normal removal first, then scans for what was left and deletes it, and can force out programs whose own uninstaller is broken.
Remove stubborn programs and their leftovers
Runs the program's own uninstaller, then finds leftover files, registry entries and browser add-ons. Has a force uninstall for broken entries.
IObit Uninstaller · Free version · Windows 11, 10, 8.1, 8, 7
Why there is often more than one Java
Java updates were once installed next to the old version instead of replacing it. Over years a PC can end up with Java 6, 7 and 8 entries at the same time. Oracle’s page lists the old names that may show up in the list: J2SE, Java 2, Java SE and Java Runtime Environment. Remove them one by one or run Oracle’s Java Uninstall Tool, which looks for the older releases and offers to remove them.
Who needs it and who does not
Most home PCs no longer need a standalone Java runtime, since web pages stopped using the old browser plug-in long ago. The common needs now are desktop programs written in Java, some business and banking tools, and certain game setups. If your PC has none of them, removal is a good tidy-up.
What you lose
Any program that needs Java to start may show an error until a runtime is back. Programs that bundle their own copy keep working. The risk is small and fixable: install the current version from Oracle if something asks for it.
When the uninstall fails
A corrupted entry can stop the uninstaller. Oracle’s page points to Microsoft’s troubleshooter for programs that cannot be installed or removed, and suggests you may need to run it as an administrator. After the repair, try again from the Apps list and restart.
Keep in mind that Java is also available from several vendors. The steps here are the same whichever vendor shipped yours, because the entry is removed through Windows.
Questions
Is Java the same as JavaScript?
No. They are different technologies. Removing Java does not affect JavaScript in your browser.
Will Minecraft stop working without Java?
The Java edition's own launcher bundles a runtime for many setups. Older mods or servers may need a separately installed one.
Why do I have several Java entries?
Updates installed side by side kept the older ones in older versions. Oracle's installer can remove them when you update.
Do I need administrator rights?
Oracle says you may need them to remove programs.