How to download and install prebuilt OpenJDK packages
On Ubuntu 8.04 (Hardy Heron), do the following:
- On the Gnome desktop (Ubuntu):
- In the main desktop menu, choose "Add/Remove ..."
- In the "Show" toggle box, select "All Open Source Applications"
- Search for "OpenJDK"
- Select the "OpenJDK Java Runtime" (openjdk-6-jre)
- Confirm the installation of community maintained software
- Press the "Apply Changes" button
- On the KDE desktop (Kubuntu):
- In the main desktop menu, choose "Add/Remove Programs"
- In the "Adept Installer" search for "OpenJDK"
- Select the "OpenJDK Java Runtime" (openjdk-6-jre)
- Press the "Apply Changes" button
- On the command line, type:
$ sudo apt-get install openjdk-6-jre
The openjdk-6-jre package contains just the Java Runtime Environment. If you want to develop Java programs then install the openjdk-6-jdk package.
For more information on how to install Java on Ubuntu, including on versions prior to 8.04, please see the Ubuntu Java Community page.


