![]() ![]() OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9-LTS, mixed mode, sharing) OpenJDK Runtime Environment 18.9 (build 11.0.11+9-LTS) Verify Java VersionĬheck the java version using the following command. There are 3 programs which provide 'java'.ġ java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/java)Ģ java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.8_4.x86_64/jre/bin/java)Įnter to keep the current selection, or type selection number: 1Įnter the number below the selection column to set the default Java version. If your system has multiple Java versions, the above command will list all Java versions like below. Use the alternatives command to set the default java version. To install Oracle JDK to a custom directory, use rpm -ivh –prefix=// rpmfile command. Uninstall Open JDKIf you have OpenJDK installed from Zip archive, just delete the whole extracted directory.By default, Java JDK is installed in /usr/java/ directory. You can verify by typing java -versionin command prompt, and check the directory C:\Program Files\Java.Ģ. 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. Uninstall Oracle JDK using uninstallerOn Windows 10, click menu Start > Settings, then click Apps in Settings window. In this short post, I’d like to share with you how to completely remove Java Development Kit (JDK) from Windows operating system, both Oracle JDK and OpenJDK, even without uninstaller program.You should uninstall old version of JDK that is no longer used, for security reason because newer JDK always has improved security.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |