2015-09-01 Tags: debian
The version of Eclipse that currently comes in Debian (even in “Unstable”) is pretty old. There have been tons of awesome development in this kitchen sink IDE over the last few years. Luckily, installing the latest version of Eclipse in Debian manually is not that difficult.
Once you have downloaded Eclipse, navigate to the Downloads folder
in a terminal and untar it.
tar xf eclipse*.tar.gz
Move eclipse to the /opt directory Opt is where things that are not
installed by your package manager are “supposed to go”. I usually
throw things in there.
sudo mv eclipse /opt
Create a symbolic link to make launching eclipse a breeze.
sudo ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse
You can now launch eclipse by typing
eclipse in a terminal window.
The last (optional) step is to make a Desktop Icon. Create a file
/usr/share/applications The file
should look something like this: sudo vim
[Desktop Entry] Name=Eclipse IDE Comment=Java Integrated Development Environment Exec=/usr/local/bin/eclipse Terminal=false Icon=/opt/eclipse/icon.xpm Type=Application Categories=Development;IDE
Save this file and you will see Eclipse IDE show up in your list of installed applications. Click on it and you are now all set to use the latest version of Eclipse. Nice work! Now that you have Eclipse installed, you should check out Java: The Complete Reference to brush up on your Java skills or learn some new ones.