Recently I bought my own slice at Slicehost. Slicehost offers different "slices" of computer to work with. And what I really like is that we get total freedom for our slice. We can install anything we want on it. I choose Ubuntu Hardy as operating system. Now I want to install Java so I can play around with Tomcat or Jetty. The best way to go seems to install the OpenJDK 1.6 Java version.
As with most things in Ubuntu installing the JDK is very easy. We simply invoke from the command line:
$ sudo aptitude install openjdk-6-jdkWith this command the JDK is installed in the
/usr/lib/jvm/java-6-openjdkdirectory. And now we have Java installed on Ubuntu.