JDK is the Java Development Kit, A software development package from Sun Microsystems that implements the basic set of tools needed to write, test and debug Java applications and applets.
First we make sure that the backport repository is available in our sources.list
Use your favourite text editor to open up the sources.list.
Make sure the following two lines are not commented out:
deb http://nz.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse deb-src http://nz.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
Save the sources.list.
Now we need to update our list of available packages from the apt sources.
Now we download and install Java 1.6.
There is a fair bit to download so hopefully you are no longer using dial-up :) A few license agreements will pop-up, just choose OK.
Now that is done we need to make sure that we are using the correct version of java.
You will see a few alternatives. Select the option that has java-6-sun in the java path.
Now we will do the same thing for the compiler:
Once again select the alternative with java-6-sun in the path.
No page links to InstallJDK.