How to install jdk on ubuntu 11.10

The sun-java6 package (and also jdk7) is no longer available in the official Ubuntu 11.10 Oneiric Ocelot repositories due to the removal of the JDL license. To install sun jdk on ubuntu 11.10.

To install JDK7 click Here:

1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal

2.Type the below code in terminal and hit enter.

sudo add-apt-repository ppa:ferramroberto/java

Type your ubuntu password if needed and press enter.

3.Then press enter to continue or ctrl-c to cancel adding the ppa.

Also Read:  Manage Your Bibliography with Citations App

4.Type below command and hit enter

sudo apt-get update

5.Then type below command and press enter

sudo apt-get install sun-java6-jdk sun-java6-plugin

6.Type y and hit enter to confirm the installation.

7.Select

OK

and press enter enter

8.To accecpt the DLJ licence select yes and press enter

9.After the successful installation,to check the installed version type

java -version
If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on Twitter and Facebook.



This Post Has 5 Comments

  1. KUMAR

    very happy with this instrucstion…
    very heplfull..

  2. Iam Sskarthik

    Nice article ..very useful

  3. Jonas Saeys

    Thank you for this article, it helped me installing the jdk 🙂

Leave a Reply