How to Uninstall Java on Windows 10

GigabyteKingdom is audience-supported. When you purchase through links on our website, we may earn an affiliate commission. Learn more.
How to Uninstall Java on Windows 10

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.

Related: How to Uninstall Apps from BlueStacks

What is Java?

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.

How to Uninstall Java on Windows 10

There are four different ways to remove Java from your device once and for all:

Method 1: Using System Settings

  1. Look for the search bar in the bottom left of your laptop display, it should be next to the Windows icon.
  2. Type the word “remove.”
  3. 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.
  4. 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.
  5. 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.
  6. Once you found, click it once, and two options will appear: “Modify” and “Uninstall.”
  7. 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.
  8. The uninstallation progress will automatically begin.
  9. 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

  1. In the bottom left search bar of your laptop screen, type “Java.”
  2. Under “Best Match,” you’ll find Java Configuration or Configure Java. Make sure the result has the word “App” written beneath it.
  3. Right-click Java Configuration and select the last option, which say: “Uninstall.”
  4. After that, the “Programs and Features” window will open up with a list of all the installed programs on your laptop.
  5. 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.
  6. 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.
  7. 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

  1. In the bottom left search bar next to the Windows icon, type “jre-8u301-windows-x64.exe.”
  2. Even if you just type in “jre,” Windows will find the application right away.
  3. 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.
  4. 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.
  5. 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

  1. In the bottom left search bar next to the Windows icon, type cmd.exe.
  2. 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.”
  3. You can also find it on the right-hand side of the same window with a list of options underneath. Click “Run as Administrator.”
  4. When the “Command prompt” window opens, type “wmic product where “name like ‘%Java%'” call uninstall,” and press “Enter.”
  5. Wait for a few seconds for the uninstallation to finish, then restart your laptop.

Removing the Path Variable

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.

  1. In the bottom left search bar next to the Windows icon, type “Edit the system environment variables.”
  2. 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.
  3. Selecting this option will open “System Properties.”
  4. Next, click “Environment Variables” which you’ll find in the bottom right corner.
  5. Another window will pop up with two boxes. In the bottom box, look for the “Path” variable.
  6. 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.
  7. 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.