I chose to go down this path since yum is several revisions behind the official version.
# Install jdk development if not already, to prevent some strange behavior when compiling code sudo yum -y install java-1.7.0-openjdk-devel.x86_64 # Download the eclipse from official site. (http://www.eclipse.org/) wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR1/eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz eclipse.tar.gz # Unpackage it mkdir -p eclipse cd eclipse tar -xvf ../eclipse.tar.gz # Create eclipse.desktop file cat > ~/eclipse.desktop <<"EOF" [Desktop Entry] Encoding=UTF-8 Name=Eclipse IDE Exec=/opt/eclipse/eclipse Icon=/opt/eclipse/icon.xpm Type=Application Categories=Development; EOF # Make it all permission chmod a+wrx eclipse.desktop cd .. # Copy the binary to opt sudo mv eclipse /opt/eclipse # Make the desktop symbolic link sudo ln /opt/eclipse/eclipse.desktop /usr/share/applications/eclipse.desktopOne should be able to see it in Search Menu
Thanks.
Sincerely,
Danil
No comments:
Post a Comment