Ubuntu repositories usually have a fairly new version of Eclipse. But if you need a cutting edge, this question on askubuntu contains detailed instructions on how to extract eclipse to a directory (the preferred method, say, Windows) and how to fix all links and shortcuts afterwards.
Personally, I prefer to extract eclipse to the user directory on Ubuntu, and this works fine for Eclipse 3.7.2
source
share