Install latest Eclipse IDE in Ubuntu 14.04, 13.10

  • by
  • 3 Years ago
  • 36

Eclipse Kepler 4.3.2 SR2 is the most recent release from the Eclipse top-level project. It contains what you need to build applications based on Eclipse technology, including integrated development environments IDE, and rich client applications using the Eclipse Rich Client Platform RCP. The Eclipse Kepler provides superior Java editing with Java Development Tools, Plug-in Development Environment, Git Team provider, and much more.

Step 1: Install Java (JRE/JDK)

– First install Java 7 and above if not installed

$ sudo apt-get install openjdk-7-jre


$ sudo apt-get install openjdk-7-jdk

Step 2: Download Eclipse Kepler IDE

– Next button below to download the latest Eclipse IDE (32bit or 64bit) package. There are different packages depending on what package you want.

[button link=”” style=”download” color=”primary”]Download Latest Eclipse IDE[/button]

– Click Save File


– From terminal, run command to move downloaded package to /opt directory

$ sudo mv Downloads/eclipse-* /opt/

Step 3: Extract Package

– Run the following commands. Ensure the file-name is correct on your version

$ cd /opt/
$ sudo tar -xvf eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz

Step 4: Create new Desktop File

– Create a new desktop file called ‘eclipse.desktop’ in /usr/share/applications/

$ sudo gedit /usr/share/applications/eclipse.desktop

– Then add the following lines to the above file and save

[Desktop Entry]
Comment=Integrated Development Environment

[box type=”info”]

According to cheourI changed the exec line in the gedit file from



Exec=env UBUNTU_MENUPROXY= /opt/eclipse/eclipse 

and it worked right


Step 5: Additional Tasks

– Run the following command to automatically install it in Unity

sudo desktop-file-install /usr/share/applications/eclipse.desktop

– Create a symlink in /usr/local/bin

cd /usr/local/bin/
sudo ln -s /opt/eclipse/eclipse

– For Eclipse icon to be displayed in dash, run following command

sudo cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm


– Launch Eclipse


  • facebook
  • googleplus
  • twitter
  • linkedin
  • linkedin
  • realtimecarsten

    Thanks. Eclipse did not work anymore after upgrading to Ubuntu 14 – now it works again!

    • Sysadmin

      I am glad to hear its now working 🙂

  • Sysadmin

    I am glad to hear its now working 🙂

  • oliverkarst

    Same happened to me, did the upgrade to 14.04 and eclipse failed in starting. Than I followed this really good description and now it works again. Thanks so much

  • sysads

    I am glad this post came in handy

  • sysads

    Good to hear that all is working

  • elnecesario

    Thank you! It worked right away after I chose the 32 bit over the 64 bit version…my mistake 🙂
    just one thing to mention:

    cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm only worked for me with sudo.

    Greetings from Berlin,

  • sysads

    Brilliant and thanks for pointing out the sudo bit. I have added it.

  • cheour

    Hi , 
    I installed the 64 bit version on ubuntu 14.04 but the menu bar is frozen.

    So, could anybody say me how can i figure it out.

  • cheour

    solved 🙂

  • sysads

    Hi, great to see that you have solved it. Share what you did so others can learn from you. Thanks

  • cheour

    I changed the exec line in the gedit file from 
    Exec=env UBUNTU_MENUPROXY= /opt/eclipse/eclipse 
    and it worked right 🙂

  • sysads

    Awesome and thanks for sharing

  • cheour

    Hi , 
    Could you please help me to uninstall eclipse kepler ubuntu 14.04) from my computer. I have some pluin issue so I want to go back to indio 🙂

    Thank you very much

  • sysads

    sudo apt-get remove –auto-remove eclipse
    sudo apt-get purge –auto-remove eclipse

    In the meantime, why not share the plugin issue you are facing so others can help 😉

    • Anders Jackson

      Or let the old own be left, as it brings in all libraries that is probably needed for the new Eclipse to work.

  • oO0Oo

    Great! Thank you sharing!  It worked for me when I have ‘Exec=/opt/eclipse/eclipse’ in the eclipse.desktop file.  I installed the 64-bit version on Ubuntu 14.

  • sysads

    Beautiful, thanks for reconfirming this so others with similar issues can be confident with this work around 😉

  • axio

    For me on ubuntu 14.04, the line “Exec=/opt/eclipse/eclipse” works ok, but adding env there nothing happens when im using dash, so pointless features “env UBUNTU_MENUPROXY”

  • Hahaha…. this works great. Great guide…

  • Gerlando Savio Scibetta

    Thank you! Worked like a charm

  • artgel dA


  • Patrick

    Thanks for sharing!

  • Suri

    how can i configure the eclipse.ini file??

  • Thank you, friend !

  • kosala subasinghe

    works perfectly!! thank you!!

  • ramesh

    Thanks this was hugely helpful

  • Pes University

    At last installed!!
    after various installs
    thanks Sysads Gazette
    -Team MCA pes University

  • Anders Jackson

    Or put a script in /usr/local/bin that start eclipse from the right place (adjust path in /opt, ECLIPSE_HOME should probably be i a version named directory, /opt/eclipse-kepler or /opt/eclipse-442).

    cat < /usr/local/bin/eclipse442
    export ECLIPSE_HOME=”/opt/eclipse”
    $ECLIPSE_HOME/eclipse “$@”
    ln -s /usr/local/bin/eclipse /usr/local/bin/eclipse442

  • Anurag

    i tried using above steps but m facing following exection error.

    /usr/local/bin/eclipse: cannot execute binary file: Exec format error

  • user1235

    I did the same by my eclipse doesn’t start nor I get any message pop up.

  • Sanjana

    Thank you!! worked in the first go!