I ran the following in terminal

sudo apt-get remove openjdk-6-jre 


java -version 

still show as OpenJDK installed. Please see image below

enter image description here

How to remove OpenJDK from Ubuntu 12.04.01?


Try: sudo apt-get remove openjdk*

| improve this answer | |
  • It worked. I cannot except answer earlier than 10 min. – Gaurav Agarwal Mar 16 '13 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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