1) Download Eclipse. I got eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
2) Extract it
Or just be lazy and Right Click > Extract Heretar xzf eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
3) Move to /opt/ folder
4) Create an eclipse executable in your pathmv eclipse /opt/ sudo chown -R root:root eclipse sudo chmod -R +r eclipse
copy this into nanosudo touch /usr/bin/eclipse sudo chmod 755 /usr/bin/eclipse sudo nano /usr/bin/eclipse
save the file (^O = Ctrl+o) and exit nano (^X = Ctrl+x)#!/bin/sh #export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse $*
5) Create a gnome menu item
copy this into nanosudo nano /usr/share/applications/eclipse.desktop
save and exit nano[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
6) Launch Eclipse for the first time
/opt/eclipse/eclipse -clean &
No comments:
Post a Comment