Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Using the guide here: I have installed Oracle's JDK because it has a few features that are not present in OpenJDK.

Now, there some new features released in the Early Access of Oracle's JDK which I need.

I have two questions pertaining to this:

  1. How do I completely get rid of Oracle's JDK ?

  2. How do I upgrade my current Oracle JDK ?
    Given that my knowledge is limited to the guide, I guess the changes will be after step 9 where I will have to replace jdk1.7.0_40 with the appropriate version.

Please help me with this =)

share|improve this question

1 Answer 1

You can just download a new version, untar it into /usr/lib/java/ near the old java version and update symlinks by "sudo update-alternatives" like in your tutorial. And don't forget to change env varible JAVA_HOME to new java directory (/usr/lib/java/< new_version >).

share|improve this answer
So, I was right... continue from Step 9 =) –  Little Child Oct 26 '13 at 6:33

Your Answer


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.