How to uninstall Java 7 binaries installed from Oracle?
7,904
Solution 1
I followed the instructions on this answer: https://askubuntu.com/a/185531/63030
Only thing I did different was that Java's files were in /usr/local/java
and not /usr/lib/jvm
.
Solution 2
Execute this command in a Terminal : sudo rm -rf /usr/local/java/j*.17.0_*/
. This will remove Java binaries.
Now what you have to do is setting valid alternatives for Java commands. For this you can use the Alternatives Configurator program or the (sudo
) update-alternatives
command.
Related videos on Youtube
Comments
-
pratnala over 1 year
I installed Java 7 using the instructions here: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux
I want to know how to revert this i.e. uninstall Java 7.
I am on Ubuntu 13.10 64 bit