There may well be a very simple answer to this but having googled for an hour, I am resorting to asking here.
I am simply trying to install eclipse Indigo(3.7.2) on Ubun
I had the same issue and was able to resolve it in deleting the entire ~/.eclipse directory along with everything in the workspace of eclipse. When I started eclipse after this, it was again possible to add java projects.