Once we know How to install jdk 6 we’ll explain how to install Eclipse in Ubuntu, and how to add a launcher, with the icon, in the menu of Unity.
The installation can be done from the software center in Ubuntu, or downloading and configuring from shell.
The file to download is eclipse-java-juno-linux-gtk-x86_64.tar.gz, and must be downloaded in /opt/eclipse
, although I prefer to do it in /home/user/eclipse
(the word “user” must be changed for your usernamed). In this way, if we reinstall our distribution of linux, we’ll keep the installation and configuration of our eclipse. After that, we have to execute the following commands:
$ sudo chmod -R +r /home/usuario/eclipse
$ sudo chmod +x /home/usuario/eclipse/eclipse
To add the icon in the menu of Unity, you have to create a file “eclipse.desktop
” en el directorio “/usr/share/applications/
” with the following content
[Desktop Entry]
Name=Eclipse
Comment=Eclipse
Exec=/home/usuario/eclipse/eclipse
Icon=/home/usuario/eclipse/icon.xpm
Terminal=false
Type=Application
Latest posts by IAvilaE (see all)
- Programación Android, Cómo usar SwipeRefreshLayout - 26 April 2015
- Programación Android, Gson – Librería para parsear documentos JSON - 13 February 2015
- Programación Android, Cómo usar múltiples Fragments II - 24 January 2015