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.