Sunday, September 2, 2012

completely uninstall java on ubuntu



sudo update-alternatives --config java
update-alternatives: error: no alternatives for java.






sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*



Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'openjdk-7-dbg' for regex 'openjdk-*'
Note, selecting 'openjdk7-jdk' for regex 'openjdk-*'
Note, selecting 'openjdk-7-doc' for regex 'openjdk-*'
Note, selecting 'openjdk-jre' for regex 'openjdk-*'
Note, selecting 'openjdk-6-demo' for regex 'openjdk-*'
Note, selecting 'openjdk-7-jdk' for regex 'openjdk-*'
Note, selecting 'openjdk-7-jre' for regex 'openjdk-*'
Note, selecting 'uwsgi-plugin-jvm-openjdk-6' for regex 'openjdk-*'
Note, selecting 'openjdk-6-source' for regex 'openjdk-*'
Note, selecting 'openjdk-6-jre-lib' for regex 'openjdk-*'
Note, selecting 'uwsgi-plugin-jwsgi-openjdk-6' for regex 'openjdk-*'
Note, selecting 'openjdk-6-jre-headless' for regex 'openjdk-*'
Note, selecting 'openjdk-7-jre-zero' for regex 'openjdk-*'
Note, selecting 'openjdk-7-source' for regex 'openjdk-*'
Note, selecting 'openjdk-7-demo' for regex 'openjdk-*'
Note, selecting 'openjdk-6-jre-zero' for regex 'openjdk-*'
Note, selecting 'openjdk-7-jre-lib' for regex 'openjdk-*'
Note, selecting 'openjdk-6-dbg' for regex 'openjdk-*'
Note, selecting 'openjdk-6-doc' for regex 'openjdk-*'
Note, selecting 'openjdk-6-jdk' for regex 'openjdk-*'
Note, selecting 'openjdk-6-jre' for regex 'openjdk-*'
Note, selecting 'openjdk-7-jre-headless' for regex 'openjdk-*'
Note, selecting 'icedtea6-jre-cacao' for regex 'icedtea-*'
Note, selecting 'icedtea-netx' for regex 'icedtea-*'
Note, selecting 'icedtea-6-jre-cacao' for regex 'icedtea-*'
Note, selecting 'icedtea-7-jre-cacao' for regex 'icedtea-*'
Note, selecting 'icedtea-netx-common' for regex 'icedtea-*'
Note, selecting 'icedtea-6-plugin' for regex 'icedtea-*'
Note, selecting 'icedtea-6-jre-jamvm' for regex 'icedtea-*'
Note, selecting 'icedtea-plugin' for regex 'icedtea-*'
Note, selecting 'icedtea-7-jre-jamvm' for regex 'icedtea-*'
Note, selecting 'icedtea-7-plugin' for regex 'icedtea-*'
Note, selecting 'icedtea-gcjwebplugin' for regex 'icedtea-*'
Note, selecting 'icedtea6-plugin' for regex 'icedtea-*'
Note, selecting 'icedtea6-jre-cacao' for regex 'icedtea6-*'
Note, selecting 'icedtea6-plugin' for regex 'icedtea6-*'
Package icedtea-6-jre-cacao is not installed, so not removed
Package icedtea-6-jre-jamvm is not installed, so not removed
Package icedtea-6-plugin is not installed, so not removed
Package icedtea-netx is not installed, so not removed
Package icedtea-netx-common is not installed, so not removed
Package icedtea-plugin is not installed, so not removed
Package openjdk-6-dbg is not installed, so not removed
Package openjdk-6-demo is not installed, so not removed
Package openjdk-6-doc is not installed, so not removed
Package openjdk-6-jdk is not installed, so not removed
Package openjdk-6-jre is not installed, so not removed
Package openjdk-6-jre-headless is not installed, so not removed
Package openjdk-6-jre-lib is not installed, so not removed
Package openjdk-6-source is not installed, so not removed
Package icedtea-7-jre-cacao is not installed, so not removed
Package icedtea-7-jre-jamvm is not installed, so not removed
Package icedtea-7-plugin is not installed, so not removed
Package icedtea6-plugin is not installed, so not removed
Package openjdk-6-jre-zero is not installed, so not removed
Package openjdk-7-dbg is not installed, so not removed
Package openjdk-7-demo is not installed, so not removed
Package openjdk-7-doc is not installed, so not removed
Package openjdk-7-jdk is not installed, so not removed
Package openjdk-7-jre is not installed, so not removed
Package openjdk-7-jre-headless is not installed, so not removed
Package openjdk-7-jre-lib is not installed, so not removed
Package openjdk-7-jre-zero is not installed, so not removed
Package openjdk-7-source is not installed, so not removed
Package uwsgi-plugin-jvm-openjdk-6 is not installed, so not removed
Package uwsgi-plugin-jwsgi-openjdk-6 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

No comments:

Post a Comment