Java 6 available on Ubuntu Feisty via Multiverse
By octav on Apr 20, 2007
The good news:
- Java 6 is now available on Ubuntu 7.04 (Feisty Fawn) from the multiverse repositories
- A couple of simple commands will install Java 6 on your system:
- Get and install Java: sudo apt-get install sun-java6-jdk
- Make Java 6 default: sudo update-alternatives --config java
- Edit sudo vi /etc/jvm the first entry should point to your JDK /usr/lib/jvm/java-6-sun
- Optionally you can install the jre and firefox plugin: sudo aptitude install sun-java6-jre sun-java6-plugin
Of course, you'll be better off following the documentation available on the Ubuntu website.
The not so good news:
- Java 6 is still not default on Ubuntu 7.04 (after installing the OS you get 1.4.2)
- You can install Java 6 from the Applications | Add/Remove, however you have to fish for it and "Show" All Available Applications when you search for it
In addition to Java, Glassfish v1 and NetBeans 5.5 are also available from the multiverse repositories. IMHO this software stack makes Ubuntu very competitive vis-a-vis RedHat / JBoss. I'll blog some other time on this topic.