Java is a high-level programming language used to develop software programs for devices, games, and embedded systems. This makes it an integral part of consoles, mobile applications, and computers. If you’d like to find out how to uninstall Java on Windows, keep reading. We compiled all the steps you’ll need in a basic how-to guide. It’s easy and straightforward once you know how. Take a look.
Java isn’t limited to just the electronic devices like computers. It’s also found in digital washing machines, air conditioners, and televisions. There’s a wide variety of electronics, applications, and devices that rely on Java to operate.
If you own a laptop, for instance you probably have Java. The reason is that many programs use Java to operate. If you were to uninstall it, none of these programs would be able to work the way they should.
The only way to get them operational again is to reinstall Java. Another option is that some of these programs automatically download Java as soon as you use them.
That said, there’s no reason why you can’t uninstall Java if you so wish. As long as you know that the programs you need don’t rely on Java specifically, you have nothing to worry about.
There are four different ways to remove Java from your device once and for all:
Method 1: Using System Settings
- Look for the search bar in the bottom left of your laptop display, it should be next to the Windows icon.
- Type the word “remove.”
- The search menu will open up, and the “Add or remove programs” option will show up in the top left under “Best Match.” Click on it and select “Open” from the menu on the right-hand side.
- When you click on “Add or remove programs,” a window will open up with the system settings. This is where you’ll find all the applications installed on your laptop.
- Scroll through the list until you find the Java application. You can also type in “Java” in the search bar where it says, “Search this list” for quick and easy access.
- Once you found, click it once, and two options will appear: “Modify” and “Uninstall.”
- After clicking “Uninstall,” a small pop-up window will appear with a reminder that “This app and its related info will be uninstalled” followed by another option for Uninstall. Click Uninstall.
- The uninstallation progress will automatically begin.
- Once the application has been successfully uninstalled, your laptop will require a reboot. You can choose whether you’d like to restart the computer now or later which is convenient if you’re stuck in the middle of a project during the uninstallation process.
Method 2: Using Programs and Features
- In the bottom left search bar of your laptop screen, type “Java.”
- Under “Best Match,” you’ll find Java Configuration or Configure Java. Make sure the result has the word “App” written beneath it.
- Right-click Java Configuration and select the last option, which say: “Uninstall.”
- After that, the “Programs and Features” window will open up with a list of all the installed programs on your laptop.
- The list is in alphabetical order, so you’ll want to scroll down until you find Java. Another option is to hit the letters “JA” on your keyboard, and Windows will find the application straight away.
- Once you locate it, give the option a quick double click. This will open up a pop up asking if you’re sure you want to uninstall this application.
- Click “Yes.” Then, wait for the uninstallation process to finish. After that, you’ll need to restart your laptop for the changes to take effect.
Method 3: Using the Original Uninstallation File
- In the bottom left search bar next to the Windows icon, type “jre-8u301-windows-x64.exe.”
- Even if you just type in “jre,” Windows will find the application right away.
- A new window will open up, and you can find the exe file under “Best Match.” Or you can pick one of the choices that appear on the right-hand side of the screen.
- Next, the Java installer will appear on your screen. It may take a few seconds to fully load up, depending on the specifications of your laptop.
- In the installer, you’ll see two options: Install and Remove. Choose Remove and the uninstallation process will begin.
Method 4: Using the Command Prompt
- In the bottom left search bar next to the Windows icon, type cmd.exe.
- A new window will appear. Look for the “Command Prompt” app under “Best Match” on the left-hand side. Right-click on “Command Prompt, then select “Run as Administrator.”
- You can also find it on the right-hand side of the same window with a list of options underneath. Click “Run as Administrator.”
- When the “Command prompt” window opens, type “wmic product where “name like ‘%Java%'” call uninstall,” and press “Enter.”
- Wait for a few seconds for the uninstallation to finish, then restart your laptop.
Your laptop’s operating system uses the path variable to execute the commands of a specific program.
Removing the path variable isn’t a must, but it is important for a clean uninstallation.
Here’s what you should do to remove the Java path variable from your laptop.
- In the bottom left search bar next to the Windows icon, type “Edit the system environment variables.”
- The environmental variables option will appear on the top left side of the screen. Click it or select “Open” from the menu on the right-hand side.
- Selecting this option will open “System Properties.”
- Next, click “Environment Variables” which you’ll find in the bottom right corner.
- Another window will pop up with two boxes. In the bottom box, look for the “Path” variable.
- After selecting it, click on the “Edit” option on the bottom, and a third window will open with a list of the different variables on your laptop.
- Find C:\Program Files\Java\jdk-11.0\bin and click “Delete.” Take your time with this step and make sure you’re selecting the correct variable. If you delete the wrong one by mistake, it could end up causing other applications to malfunction.