Eclipse 3.5 Galileo on Ubuntu Jaunty 9.04

Base on some other articles guiding installation of Eclipse on Ubuntu, here are some steps that help you getting Eclipse 3.5 working on Ubuntu Jaunty 9.04

1. Install Sun Java JDK

#sudo apt-get install sun-java6-jdk

2. Choose an icon
You can save this icon to your Desktop so later can be used for menu icon

3. Download Eclipse Galileo
You can go to official site and choose your edition, here I choose Eclipse for PHP Developer (

Save to your Desktop

4. Extract Eclipse
Open Terminal, and execute:

#cd ~/Desktop
#tar xzf eclipse-php-galileo-linux-gtk.tar.gz (replace your downloaded file name here)
#sudo mv eclipse /opt/eclipse
#sudo mv eclipse-galileo.png /opt/eclipse
#cd /opt
#sudo chown -R root:root eclipse
#sudo chmod -R +r eclipse
#cd /opt/eclipse
#sudo chmod +x eclipse

5. Create an executable shell for eclipse
Open terminal, execute the commands:

#sudo touch /usr/local/bin/eclipse (this assumes that /usr/local/bin is in the path)
#sudo chmod 755 /usr/local/bin/eclipse
#sudo nano /usr/local/bin/eclipse

When file is opened with nano, enter the following:

export ECLIPSE_HOME=/opt/eclipse
$ECLIPSE_HOME/eclipse $*

6. Create GNOME menu item
Open Terminal, execute the following commands:

#sudo nano /usr/share/applications/eclipse.desktop

Enter the following contents:

[Desktop Entry]
Comment=Eclipse Galileo IDE

7. Initialise eclipse
Open Terminal, execute:

#/opt/eclipse/eclipse –clean

8. From now on, you can choose to run Eclipse from menu Applications->Programming->Eclipse

Related posts:


About number.0