I am trying to uninstall java 1.7.0_10 on ubuntu 12.04 using the instructions from here-http://akbarahmed.com/2012/06/24/uninstall-java-from-ubuntu-linux/. After I complete the instructions, I check for java and it is still there. Any ideas?
I am trying to uninstall java 1.7.0_10 on ubuntu 12.04 using the instructions from here-http://akbarahmed.com/2012/06/24/uninstall-java-from-ubuntu-linux/. After I complete the instructions, I check for java and it is still there. Any ideas?
Open a terminal window (alt+ctrl+t) and enter the following commands.
sudo update-alternatives --remove "java" "/usr/lib/jvm/jdk1.7.0_10/bin/java"
sudo update-alternatives --remove "javac" "/usr/lib/jvm/jdk1.7.0_10/bin/java"
sudo update-alternatives --remove "javaws" "/usr/lib/jvm/jdk1.7.0_10/bin/javaws"
Then remove the package in the /usr/lib/jvm
This should work!! :)