1. Downloadeclipse tar package.
Download eclipse juno from eclipse's homepage to a folder.
2. Extract the tar package to /opt folder.
# tar -xvzf eclipse-jee-juno-SR1-linux-gtk.tar.gz -C /opt
Then eclipse directory will be in /opt. Give eclipse directory read permission if it is possible.
3. Create Eclipse executable on /usr/bin path
# touch /usr/bin/eclipse
# chmod 755 /usr/bin/eclipse
Open elcipse file with editor, then input the below item and save.
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
4. Create a desktop launcher.
Create eclipse.desktop file in/usr/share/applications/eclipse.desktop.
Add the following items in eclipse.desktopfile. Be careful there should be no backspace and new line
in these items.
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=EclipseSDK 4.2.1
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
5. Start eclipse.
You can open a terminal and input eclipse tostart eclipse.
Also you will find an eclipse icon inprogramming list.
Then add eclipse launcher to desktop.