When i install eclipse helios in ubuntu
Extract the eclipse.XX.YY.tar.gz using
tar -zxvf eclipse.XX.YY.tar.gz
Become root.
sudo su
Copy the extracted folder to /opt
cp -r eclipse.XX.YY /opt
Create a desktop file and place it into /usr/share/applications
gedit /usr/share/applications/eclipse.desktop
and copy the following to the eclipse.desktop file.
[Desktop Entry] Name=Eclipse Type=Application Exec=eclipse Terminal=false Icon=eclipse Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE Name[en]=Eclipse
Create a symlink in /usr/local/bin using
cd /usr/local/bin ln -s /opt/eclipse/eclipse
For eclipse icon to be displayed in dash, eclipse icon can be added as
cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm
it give below error: bash: /usr/local/bin/eclipse: No such file or directory
ls -ltr /opt/eclipse*/eclipse