Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

How to remove java from ubuntu

dpkg-query -W -f='${binary:Package}
' | 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
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #How #remove #java #ubuntu
ADD COMMENT
Topic
Name
2+2 =