How to install eclipse in ubuntu 14.04

Eclipse is a open-source development environment used to develop applications . it supports various programming languages and can be installed in all Operating systems (Windows , Linux, Mac)
In this article we can see about installing eclipse in ubuntu 14.04 Manually.

Install eclipse in ubuntu 14.04 (Latest version)

Step 1 » Update repostories.
sudo apt-get update
Step 2 » Install Java by the below command.
sudo apt-get install openjdk-7-jdk
Step 3 » Download latest eclipse from here ( Download Eclipse )
Step 4 » Move the downloaded package to /opt directory.
sudo mv Downloads/eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz /opt/
Step 5 » Unzip the downloaded file.
cd /opt
sudo tar -xvf eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz
Step 6 » Create a new file eclipse.desktop in /usr/share/applications/ and add the below code .

[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=eclipse.desktop

Step 7 » Now install that desktop file using the below command.
sudo desktop-file-install /usr/share/applications/eclipse.desktop
Step 8 » Create a link file using the below command to open eclipse in command mode.
sudo ln -s /opt/eclipse/eclipse /usr/local/bin/
That’s it , Now you can launch eclipse.
Install eclipse in ubuntu 14.04

46 Comments

  1. This information is useless or incomplete at best! I can not “Step 4 » Move the downloaded package to /opt directory.” in ubuntu

  2. This information is useless or incomplete at best! I can not “Step 4 » Move the downloaded package to /opt directory.” in ubuntu

  3. I’m unable to create eclipse.desktop file(permission denied). I tried using sudo also but it is not working. how to proceed further ??

  4. I’m unable to create eclipse.desktop file(permission denied). I tried using sudo also but it is not working. how to proceed further ??

  5. find error when installing…

    gzip: stdin: unexpected end of file
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now

  6. Or put a script in /usr/local/bin that start eclipse from the right place.

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

  7. I have completed the installation process but was not able to launch it. Some one will please help me out with the launching process.

  8. Good morning from Buzzards Bay MA, everything installed perfectly. I am a 49 year firmware c assembly guy but new to Java development. On Ubuntu 12 and eclipse a year ago, which was a bear to install, I could build a sample camera project and sample hello world project, adb it to a $20 rooted Walmart lg34c phone for instant success.

    This crisp install (thanks) and the same sample projects result in “you must fix the build path” problems. I am too new, and couldn’t Google my way out of this.

    Is there any way to pass me just the build path config?

    Thanks, I am 2 cm from success. Bradshaw. K1te (ham)

  9. hi I am install eclipse standard kepler sr1 packages on linux 32bit in ubuntu 14.04.

    i got an error

    hduser@hepsiba-VirtualBox:~$ cd /usr/share/applications

    hduser@hepsiba-VirtualBox:/usr/share/applications$ sudo nano eclipse.desktop

    hduser@hepsiba-VirtualBox:/usr/share/applications$ sudo chmod +x eclipse.desktophduser@hepsiba-VirtualBox:/usr/share/applications$ desktop-file-install eclipse.desktop

    Error on file “eclipse.desktop”: Failed to create file ‘/usr/share/applications/eclipse.desktop.M4F15X’: Permission denied

    hduser@hepsiba-VirtualBox:/usr/share/applications$

  10. Hello I get this error message while installing the eclipse.desktop file “Error on file “/usr/share/applications/eclipse.desktop”: Key file does not start with a group”

Leave a Reply

Your email address will not be published.


*