eclipseSoftware 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.

 

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. Continue reading »

© 2011 And now here's something… Suffusion theme by Sayontan Sinha