Installing Eclipse in Ubuntu 13.10
By Daniel
February 4, 2014
Adapted answer from Shubhmay and TimD on askubuntu on installing Eclipse.
-
Extract the eclipse.XX.YY.tar.gz file:
tar -zxvf eclipse.XX.YY.tar.gz
-
Copy the extracted folder to
/opt
:sudo cp -r eclipse /opt
-
Create a desktop file
gedit eclipse.desktop
-
copy the following to the eclipse.desktop file
[Desktop Entry] Name=Eclipse Type=Application #Exec=eclipse Exec=env UBUNTU_MENUPROXY=0 eclipse # for menubar bug in 13.10 Terminal=false Icon=eclipse Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse
-
Execute the following command to automatically install it in the unity:
sudo desktop-file-install eclipse.desktop
-
Create a symlink in
/usr/local/bin
usingcd /usr/local/bin ln -s /opt/eclipse/eclipse
according to user ortang:
Use the eclipse version when creating a the symlink (eg:
ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse42
), and useExec=eclipse42
at the desktop entry. That way you will be able to install multiple different versions of eclipse -
For eclipse icon to be displayed in dash, eclipse icon can be added with
cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm
- Posted on:
- February 4, 2014
- Length:
- 1 minute read, 144 words