Installing JRE on Ubuntu 10.04
How to install JRE6 on Ubuntu 10.04
Installing Java Runtime Environment and the plug-in on Ubuntu Lucid is pretty straightforward. The first step is to enable the partner repository in /etc/apt/sources.list
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
Once the sources are added, run an update
sudo apt-get update
Run the following command to install the Java Packages
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
Run the following to verify the installation
java -version
java version “1.6.0_20″
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)


