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 ran the following in terminal

sudo apt-get remove openjdk-6-jre 

but

java -version 

still show as OpenJDK installed. Please see image below

enter image description here

How to remove OpenJDK from Ubuntu 12.04.01?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Try: sudo apt-get remove openjdk*

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

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.