Quick Answer: How to Uninstall Java in Linux?
Contents How to Uninstall Jdk from Linux? Uninstall Oracle Jdk. Remove the Link. First of All Remove the Alternatives by Executing the Following Commands: $...
Contents
How To Uninstall JDK From Linux ?
- Uninstall Oracle JDK. Remove The Link. First of all remove the alternatives by executing the following commands: $ sudo update-alternatives –remove “java” “/usr/lib/jvm/jdk[version]/bin/java”
- Uninstall Openjdk. If you want to remove Openjdk only, execute the following command on terminal: $ sudo apt-get remove openjdk*
How do I uninstall Java on Centos?
grep java” into the terminal and press “Enter.” The name of each installed Java package appears in the terminal. Type “rpm -e package” into the terminal, replacing “package” with the name of the Java package from the previous command. You can remove multiple packages by separating each package name with a space.
Must Read
How do I uninstall Java version?
Older versions of Java may appear in the program list as J2SE, Java 2, Java SE or Java Runtime Environment.
Manual Uninstall
- Click Start.
- Select Settings.
- Select System.
- Select Apps & features.
- Select the program to uninstall and then click its Uninstall button.
- Respond to the prompts to complete the uninstall.