Here's a short shell script to quickly install the latest Eclipse in Ubuntu, since the one in the repositories is about two years old. As a bonus, it also replaces the ugly Eclipse icon with a nicer one by Shaun Smith. Based on these instructions.
-
Run the script, like this:
bash <(wget -qO- https://gist.github.com/nicholasadamou/91f6f9fea968d8b8c6b47161c8ace415/raw/85632ae2e14a18472343e07bf1a41047954a3d19/install_eclipse.sh)
-
The script will install OpenJDK, download Eclipse, patch the icon so it looks less ugly, and put all of the right files in the right places.