Sunday, March 18, 2012

install eclipse on CentOS

1) Download eclipse


2) tar -xvf eclipse into directory /usr/lib/eclipse or /usr/share/eclipse


3) using alternatives configure eclipse command
alternatives --install /usr/bin/eclipse eclipse /usr/lib/eclipse/eclipse 99

4) vi /usr/share/applications/eclipse.desktop and add content

[Desktop Entry]
Name=Eclipse
Comment=Eclipse Juno
Exec=eclipse
Icon=/usr/lib/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;KDE;Application;Development;Java;
StartupNotify=true

No comments:

Post a Comment