4

In this tutorial, we will see how to install Sun Java 6 on Ubuntu 11.04. Due to the unavailability of Java packages in the official repository, we will resort to an external PPA.

Launch the Terminal and run these commands to install Sun Java 6:

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-bin


To insttall JRE (Java Runtime Environment), issue this command:

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

Then install JDK (Java Development Kit) with this command:

sudo apt-get install sun-java6-jdk




UPDATE: Another PPA is available for installing Sun Java 6 under Ubuntu:

sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin

Post a Comment

 
Top