Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What're the best versions and configuration tricks for building a happy Java development environment with Eclipse on Ubuntu?

I'm at Ubuntu 8.10 and Eclipse Ganymede 3.4.2, so I'm behind on both fronts. With my current setup, Eclipse often slows to a crawl and I have to restart. I'd love to upgrade to the latest OS and IDE. However, I've heard bad stories about later versions of Eclipse running on later versions of Ubuntu, and I'd rather not spend time upgrading just to find that I jumped from the frying pan into the fire.

My must-have plugins (which work on my current setup): - Subclipse - AspectJ - Jupiter

Nice to have: - Counterclockwise (which doesn't work for me on my current setup)

Anyone have a holy grail of versions and setup tricks to make things happy?

share|improve this question

migrated from stackoverflow.com Oct 20 '11 at 14:18

This question came from our site for professional and enthusiast programmers.

what horror stories? –  matt b Mar 24 '10 at 17:04
Well it is ubuntu and eclipse. –  deadalnix Oct 20 '11 at 19:45
add comment

3 Answers 3

If you have the memory to spare, increase the max heap size allocated to Eclipse.

In eclipse_home/eclipse.ini, add a -XmxYYYm after the -vmargs line where YYY is the amount of memory. Example:

share|improve this answer
add comment
up vote 2 down vote accepted

You most likely have too little memory. Consider getting as much as you can afford (or be allowed to).

I've run Eclipse 3.5 nicely under 8.10 for several months. (several hours a day)

Are you absolutely certain you run under the Sun Java 6 JVM?

apt-get install sun-java6-jdk

share|improve this answer
add comment

I'm using Eclipse 3.5 on Ubuntu 9.10 on amd64 and making heavy use of the plugin development environment (which is largely java) without any problems. (For the record, my workstation has 8GB of RAM, and I didn't need to set any -vmargs/-Xms/-Xmx.)

There was a slight issue with some of Eclipse's controls not working properly, but there's an easy workaround for it: http://mou.me.uk/2009/10/31/fixing-eclipse-in-ubuntu-9-10-karmic-koala/

share|improve this answer
Just to throw another data point on the barbie, I'm running Spring Tool Suite (based on Eclipse Helios) on 10.04LTS on an amd64 system with 8G of memory and having no problems at all. –  TMN Oct 20 '11 at 19:30
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.