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.

Share:
7,904

Related videos on Youtube

pratnala
Author by

pratnala

Know more

Updated on September 18, 2022

Comments