Installing Eclipse in Ubuntu 13.10
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.gzCopy the extracted folder to
/opt:sudo cp -r eclipse /optCreate a desktop file
gedit eclipse.desktopcopy 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]=EclipseExecute the following command to automatically install it in the unity:
sudo desktop-file-install eclipse.desktopCreate a symlink in
/usr/local/binusingcd /usr/local/bin ln -s /opt/eclipse/eclipseaccording to user ortang:
Use the eclipse version when creating a the symlink (eg:
ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse42), and useExec=eclipse42at the desktop entry. That way you will be able to install multiple different versions of eclipseFor eclipse icon to be displayed in dash, eclipse icon can be added with
cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm