"How many times have you run into problems with Java? Chances
are very good that most of you have. If you perform a Google search
using the words "Linux" and "Java," you'll have an all-day
scavenger hunt on your hands. Searching for answers to installing
Java, making it work and surviving the aftermath could use up
whatever energy you've gleaned from actual cups of java. If you
install the correct package, you need never fret again. You'll
learn to love Java again. You might even sing about it.
"There are so many options for installing Java on your system.
There's openjdk, Sun's (Oracle's) Official Java, and the various
"renegade" versions such as kaffe or gcj. This tutorial focuses on
the Ubuntu-packaged version of Sun's Java 6 JDK."