Java 6 on Ubuntu Hardy

To install Java 6 Runtime on Ubuntu Hardy, you have to enable universe and multiverse for the hardy and hardy-updates repositories and then run

apt-get install sun-java6-jre sun-java6-fonts