Answers for "remove java 11 from ubuntu"

0

linux remove java 11

sudo apt remove openjdk-11*
sudo apt remove icedtea*
Posted by: Guest on November-09-2020
1

How to remove java from ubuntu

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 "Shell/Bash"

Browse Popular Code Answers by Language