Windows – Linux – Mac OSX Guides

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

Tagged with:     , , , , ,

Related Articles

Loading Facebook Comments ...


  1. whatdoesitwant

    Finishing touches

    If you can’t find a nice transparent file for the icon, i found one at Just download it to your desktop and rename it to eclipse-galileo.png before going through this setup.

    Option click on Eclipse in Application>Development to add a shortcut to the panel or the desktop.

  2. number.0

    @whatdoesitwant: thanks for the icon, looks just great 🙂

  3. Nandini

    After installation tried to create a new PHP Project – getting the following error –

    Creation of element failed.

    Build path contains duplicate entry: ‘opt/eclipse/plugins/org.eclipse.php.core_2.1.0.v20090617-2314/Resources/language/php5/’ for project testphpproject

  4. number.0

    I got rid of this by click Finish on the first screen.

  5. bam

    on step 5, after i type those command on nano. what next? coz i already follow all the instuction but nothing happen.. something is missing..

  6. Andrei

    Worked perfectly on Ubuntu 9.04 for Eclipse Galileo PDE package.

    Thanks a lot!

  7. Phani

    Thanks, exactly what i wanted.

  8. NssY

    Thanks. Made my day

  9. lore

    that’s cool! 😉

  10. FHurtad

    Thanks for these instructions. Galileo is now working fine on my machine (Sony NR360E)

  11. Abhishek Ransingh

    Hi All,
    I’ve done all the steps which has been mentioned above. But, when last step comes i.e. to initialize Eclipse by typing in the terminal – /opt/eclipse/eclipse –clean then following error comes : “bash: /opt/eclipse/eclipse: cannot execute binary file ” Plz guys help me out. How to get rid of that ?

  12. Venkat Mantirraju

    This is an excellent guide. Thanks a lot for your effort and time in making this available to all the developers and eclipse and UBUNTU lovers.

    However on 9.10, it looks like there is a bug with Eclipse. We need to add these below lines to the file at


    Thanks to the below link for additional information on this. I thought that it would be handy for the team members those are looking in to this installation guide.

    Thanks again for all your help,

  13. ezequiel

    thnx! worked perfectly!

Post your comments

Your email address will not be published. Required fields are marked *