TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Windows 11

Uninstall Java on Windows 11

Overview

In this tutorial, we will learn the steps involved to uninstall Java on Windows 11 operating system. The uninstall steps depend on the install method.

  • Installed through Java/JDK installer
  • Installed through JDK compressed archive Package

 

Side note: We can just change the JAVA_HOME to point the another Java install on the machine. There is no need to uninstall Java on the machine if your are switching JDKs.

Below are the steps to uninstall Java from the machine.

Uninstall Java

These steps are applicable for Java/JDK installed using installer.

Open Control Panel

Control Panel >> Programs >> Programs and Features screen

Check for Java JDK program entry in this screen.

Select the Java SE Development Kit <version> and click on the Uninstall link.

 

Uninstall Java Windows 11

This will launch the uninstaller. Click on Yes button to uninstall the JDK.

 

JDK Uninstall Wizard Windows 11

Remove environment variables set during Java install process. See below for the instructions to remove system variables.

That’ it. Java or JDK would be uninstalled from the Windows 11 machine.

Uninstall Package

The below steps are applicable if Java / JDK was installed using the compressed archive package on the machine.

Remove JDK directory

Locate the Java JDK home directory and right click on the folder. Delete the Java home directory.

Click on the delete Trash can icon in the context-sensitive menu.

 

Windows 11 Java Directory Remove

Remove System Variables

Remove the JAVA_HOME environment system variable

  • Click on the Search icon in the Taskbar.
  • Search for environment variables in the Search bar. Click the Edit the system environment variables  link.

 

Edit System Variables Windows 11

  • Open System properties. Click on the Environment Variables… button
  • In the system variables remove the JAVA_HOME variable. Select JAVA_HOME entry and click on the Delete button.

 

Delete JAVA_HOME variable Windows 11

Remove Java PATH entry

Remove the Java entry from the PATH environment system variable.

Choose the PATH system environment and click on the Edit… button.

 

Edit PATH system variable Uninstall Java

 

Choose the Java path entry can click on the Delete button.

 

Delete Java Entry Path

 

That’s it. Java uninstall is complete.

 

—

Windows 11 Tutorials

https://www.testingdocs.com/windows-11-tutorials/

More Information on Windows 11

https://www.microsoft.com/en-us/windows

Related Posts

Download .NET Core Runtime

Windows 11 /

Download .NET Core Runtime on Windows 11

Norton Antivirus

Windows 11 /

Antivirus Products for Windows 11 PC

Location privacy settings Win11

Windows 11 /

Location Privacy Settings on Windows

Norton 360 Active Protection

Windows 11 /

Windows 11 Virus & Threat Protection

Download Cumulative Updates Windows 11

Windows 11 /

Cumulative Update for Windows 11 Version

‹ Install Java on Windows 11› Install Eclipse IDE on Windows 11

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version