How to Uninstall JDK from Windows
- Details
- Written by Nam Ha Minh
- Last Updated on 30 October 2021   |   Print Email
1. Uninstall Oracle JDK using uninstaller
On Windows 10, click menu Start > Settings, then click Apps in Settings window. Under Apps & Features, click on the JDK version you wish to remove:Just click Uninstall two times and it will remove JDK quickly from your operating system. You can verify by typing java -version in command prompt, and check the directory C:\Program Files\Java.
2. Uninstall Open JDK
If you have OpenJDK installed from Zip archive, just delete the whole extracted directory. You can type where java in command prompt to know the installation directory:Then change the current directory to OpenJDK directory and type the following command:del /s /f /q jdk-15
3. Uninstall Oracle JDK without uninstaller
In case you could not find uninstaller for Oracle JDK, you need to delete the following directories (for example, remove JDK 1.8).- JDK installation folder: C:\Program Files\Java\jdk1.8.0_251
- Java cache folder: C:\ProgramData\Oracle\Java
- Java updater program: C:\Program Files (x86)\Common Files\Java
- Java path: C:\Program Files (x86)\Oracle\Java
Other Uninstallation Guides:
- How to Uninstall NetBeans IDE completely from Windows
- How to Completely Uninstall Eclipse IDE from Windows computer
Comments