http://www.eclipse.org/downloads/packages/release/indigo/r
open terminal:
su
tar -xvzf [the downloaded file] -C /opt
chmod -R +r /opt/eclipse
touch /usr/bin/eclipse
chmod 755 /usr/bin/eclipse
nano -w /usr/bin/eclipse
add following content
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
now you are nearly there,
nano /usr/share/applications/eclipse.desktop
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
now you are nearly there,
nano /usr/share/applications/eclipse.desktop
Add following content to file and save
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 3.7
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
No comments:
Post a Comment