- Downloaded the latest version of Eclipse from http://www.eclipse.org/downloads/. Making sure to select Linux as the OS and the 64 Bit version.
- su to root
- Move the tar ball to /opt/
- Run tar xvf on the tar ball. This creates the eclipse directory
- Move /opt/eclipse/ to /opt/eclipse-indigo
- Create a symbolic link, ln -s /opt/eclipse-indigo /opt/eclipse. This allows us to install several versions of eclipse and then just change the link to the version we want to run.
- Create a desktop shortcut
- Right click on the desktop and selecting, "Create Launcher"
- Name is Eclipse
- Command is /opt/eclipse/eclipse
- Press the "No Icon" button and browse to /opt/eclipse and select icon.xpm
- Add eclipse executable to the path so we can run it from the command line if needed
- Run the following: '/usr/sbin/alternatives --install /etc/alternatives/eclipse eclipse /opt/eclipse/eclipse'. This will setup eclipse using the alternatives feature.
- Now create an alias by running: 'ln -s /etc/alternatives/eclipse /usr/bin/eclipse'. This will create a symbolic link in /usr/bin, which is in the PATH to the eclipse setup by the alternatives.
Monday, September 26, 2011
Setting up Eclipse Indigo on Centos 5.7 x86_64
The version of Eclipse that is pre-packaged by Centos 5.7 is a rather old version. If I'm reading it right, it is Eclipse 3.2. I'm hoping that isn't really true, but because of that I'm going to install Eclipse myself. Here are the steps I took to get it installed and running:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment