Java 6 is now available on Ubuntu 7.04 (Feisty Fawn) from the multiverse repositories. Follow these simple steps and you will be up and running with Java in not time.
- First, install Sun’s Java and friends:
[server][user][~]$ sudo aptitude install sun-java6-jdk sun-java6-jre sun-java6-plug-in sun-java6-fonts
- Make Java 6 the system default:
[server][user][~]$ sudo update-alternatives --config java
- Edit
/etc/jvm. The first entry should be/point to your JDK:/usr/lib/jvm/java-6-sun
Now you are all set and can install all your fun java apps :)