Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

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|improve this answer
add comment
up vote 1 down vote accepted

I followed the instructions on this answer: http://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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.