Tags: ,

I tried to install newest Eclipse with the packaging system but failed, so I did it manually.
Here are the steps that worked for me.

1. Download eclipse for linux from http://www.eclipse.org/downloads/.

2. Unpack the package.

3. Move the package to /opt

CODE:
  1. mv eclipse/ /opt

4. Change permissions on the new directory

CODE:
  1. chown root.root /opt/eclipse
  2. chmod -R +r /opt/eclipse
  3. chmod +x `find eclipse -type d

5. Create a executable link

CODE:
  1. touch /usr/bin/eclipse
  2. chmod 755 /usr/bin/eclipse
  3. /usr/bin/eclipse

6. and insert the following content.

CODE:
  1. #!/bin/sh
  2.     export ECLIPSE_HOME=/opt/eclipse
  3.     $ECLIPSE_HOME/eclipse $*


Sponsored Links

7. Create desktop symbol

CODE:
  1. touch /usr/share/applications/eclipse.desktop
  2. edit /usr/share/applications/eclipse.desktop

8. and insert this

CODE:
  1. [Desktop Entry]
  2. Encoding=UTF-8
  3. Name=Eclipse
  4. Comment=Eclipse IDE
  5. Exec=eclipse
  6. Icon=/opt/eclipse/icon.xpm
  7. Terminal=false
  8. Type=Application
  9. Categories=GNOME;Application;Development;
  10. StartupNotify=true

SMD got me going at http://www.sumardi.net/2007/07/08/how-to-install-eclipse-33-manually/ but this solution did not work completely for me.

Leave a Reply