How to install jdk on ubuntu 11.10

  • Post last modified:May 5, 2012
  • Post category:Linux
  • Post author:

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.


Continue ReadingHow to install jdk on ubuntu 11.10