apt-get install eclipse eclipse-cdt eclipse-jdt # don't include eclipse if you have it already
after a successful install, do the following at terminal; pls back-up workspace:
rm -rf ~/.eclipse rm -rf ~/workspace eclipse -clean &