Eclipse on Ubuntu without GCJ
Software packages from Ubuntu repositories can have some interesting and problematic dependencies. One such example is Ubuntu’s dependency on GCJ for Ant.
Ubuntu’s Eclipse package also depends on GCJ. If you wish to avoid this dependency, simply download the appropriate binary distribution from the Eclipse download site, extract to the location of your choice, and run Eclipse.
Before using Eclipse, be sure you have Sun’s JRE installed and configured as the default JRE.
Ant on Ubuntu without GCJ
You may be surprised to learn Ant requires GCJ when installed through Synaptic or apt on Ubuntu. GCJ is GNU’s Java compiler. When you’re using Sun’s JDK and compiler, GCJ can get in the way — at worst it creates conflicts; at best it causes confusion.
Here’s how I installed Ant on Ubuntu without GCJ. Read more
Java 6 Update 10 is available
Java 6 Update 10 (aka Java 6u10) is now available for Linux and other platforms. Sun has published release notes for this update.
I have been using 6u10 with great success since the Ubuntu 8.10 release candidate became available. Ubuntu 8.10 users can begin developing with the JDK using a couple simple commands.
aptitude install sun-java6-jdk && update-java-alternatives -s java-6-sun
Be sure to consider installing other useful Java packages, such as sun-java6-doc, along with the JDK.
aptitude search sun-java6
