Removing the java in linux - Tecnew

Home Ads

Removing the java in linux

Removing the java in linux

Share This

Remove the Oracle's Java folder: 

$ sudo rm -r /usr/lib/jvm/java-11-oracle

Install OpenJDK 8 from APT:

$ sudo apt install openjdk-8-jdk openjdk-8-jre

Confirm Java version using:

$ java -version


Or you can change the default java version by the following

$ sudo update-alternatives --config java

No comments:

Post a Comment