How do I install Eclipse Indigo 3.7.1?
I have downloaded Eclipse Indigo 3.7.1 . I used to try to install it into Ubuntu 11.10 as install on Ubuntu 11.04 but it doesn't work. Please anyone tell me how to install it into Ubuntu 11.10.
Sorry for my English :)
Download one of the available Eclipse bundles from the official site. I got
eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
-
Extract it
tar xzf eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
Or just be lazy and Right Click > Extract Here
-
Move to
/opt/
foldermv eclipse /opt/ sudo chown -R root:root eclipse sudo chmod -R +r eclipse
-
Create an eclipse executable in your path
sudo touch /usr/bin/eclipse sudo chmod 755 /usr/bin/eclipse sudo nano /usr/bin/eclipse
copy the following into /usr/bin/eclipse
#!/bin/sh #export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse $*
save the file (^O = Ctrl+o) and exit nano (^X = Ctrl+x)
-
Create a gnome menu item
sudo nano /usr/share/applications/eclipse.desktop
copy the following into /usr/share/applications/eclipse.desktop
[Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=true
save and exit nano
-
Launch Eclipse for the first time
/opt/eclipse/eclipse -clean &
I don't think eclipse needs 'install', just extract(unpack) it and everything is ok.