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.

Using the guide here: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux 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
add comment

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
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.