Activities

August 2008
M T W T F S S
« Jul   Oct »
 123
45678910
11121314151617
18192021222324
25262728293031

How to install java on Ubuntu

This small guide shows how to install the original Sun Java 2 Platform Standard Edition 5.0 JRE (Java Runtime Environment) and JDK (Java Developer Kit) on Ubuntu.

The original Sun Java 2 is available in the ‘multiverse’ section of the Ubuntu repositories. To enable this section first add the multiverse repository to the apt sources file – the /etc/apt/sources.list should look like, – important parts are in bold:

deb http://dk.archive.ubuntu.com/ubuntu/  feisty <strong>universe multiverse</strong>

Now, update apt:

sudo apt-get update

Then install the Java debian packages.

sudo apt-get install sun-java5-bin

Or this for installing the JDK ( the Java SDK )

sudo apt-get install sun-java5-jdk

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>