Answers for "how to completely uninstall java linux"

0

uninstall java 11 linux

sudo update-alternatives --remove "java" "/usr/lib/jvm/jdk[version]/bin/java"
Posted by: Guest on August-03-2020
1

remove java linux

dpkg-query -W -f='${binary:Package}\n' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e '^gcj-(.*)-j(re|dk)' -e '^java-common' | xargs sudo apt-get -y remove
sudo apt-get -y autoremove
Posted by: Guest on July-01-2021

Code answers related to "how to completely uninstall java linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language