Via this An excerpt from today’s LinuxPlanet article…you no longer need to jump through hoops to get up and running with Java on the desktop. It is available in Ubuntu Feisty Fawn (7.04) multiverse repository.

Where do I get started?

Download, install Ubuntu from the Ubuntu site. Here’s a link to the Unofficial Ubuntu 7.04 (Feisty Fawn) Starter Guide. Make sure you uncomment the multiverse lines in /etc/apt/sources.list. Then this *should* work:

sudo aptitude install sun-java6-jdk sun-java6-javadb glassfish netbeans5.5

Finally…a real JDK on Linux :-)

This is much more than just another marketing release from Canonical and Sun, making Java a part of the distribution means that you’ll see more people adopting and moving towards Java in the future for other application.
Also, it is going to mean that more and more Java open source projects are going to have to start thinking about real packaging issues. I would like to be able to just say “apt-get install continuum” on an Ubuntu box (or “yum install continuum” on Fedora), because what I’m doing right now is getting as far as the distro can take me and then writing 10 page playbook recipes for sysadmins who don’t know anything about Java. Getting Sun’s JDK in the distro is the bridge we’ve needed for years.