How do I uninstall Java on my Windows computer?
This article applies to:To use the “java” command-line tool you need to install a JDK; Even Installing the latest version JRE (Java Runtime Environment) won’t help you in fixing this JDK or JRE alert popup message. How to get rid of java pop up on Mac Method 1. As the message says, you have to go to Apple, not Sun, for Java on the Mac. As far as I know, Apple JDK 6 is installed by default on Mac OS X 10.6 (Snow Leopard).
- Platform(s): Windows 10, Windows 2008 Server, Windows 7, Windows 8, Windows Server 2012, Windows Vista, Windows XP
» 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 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.
Mac Jdk Install Directory
RELATED INFORMATIONWindows
- Windows 10 Uninstall Programs (Microsoft)
- Windows 8, Windows 7 Uninstall Programs (Microsoft)
Non-Windows
- Solaris Uninstall instructions (OTN)
You might also be interested in:
- How to find and uninstall stand-alone JavaFX from my system
So I installed Minecraft on my macOS computer. I want to install Optifine as well. When I download Optifine Ultra from its website, I get a .jar file. When I double click on it, I get the following message:
To use the “`java -jar OptiFine_1.12.2_HD_U_C7.jar” command-line tool you need to install a JDK.
Along with this, I get an option to go to the Oracle website to download the 300+MB Java Development Kit.
Is it possible to 'manually' install Optifine without having to install the JDK?

1 Answer
If you want to install OptiFine manually, you'll need to access the json file from the versions folder, so you'll need to install it either way. If you have a different computer that does have java, install it on that, then go to your versions folder, optifine 1.12.2, and copy the .json file to the same directory on your other computer. That directory won't exist, so you'll need to create it, but it should work fine.