How to install eclipse in ubuntu 12.04

Eclipse installation in ubuntu 12.04 is very simple . you can install eclipse using “software center” but you may not get the latest version, better download the latest version and install manually . Here we can see how to install eclipse in ubuntu manually .
install eclipse ubuntu 12.04

Installing eclipse in ubuntu 12.04

Step 1 » Before installing eclipse you need to install java , you can either install JRE or JDK .
krizna@leela:~$ sudo apt-get install openjdk-7-jre
[or]
If you are going to use eclipse for java development, then you can install JDK
krizna@leela:~$ sudo apt-get install openjdk-7-jdk
Step 2 » Download the latest eclipse package from here http://www.eclipse.org/downloads/?osType=linux
Step 3 » move the package to the /opt directory
krizna@leela:~$ sudo mv eclipse-SDK-4.2.2-linux-gtk.tar.gz /opt/
Step 4 » Unzip the package by typing the below command
krizna@leela:~$ cd /opt
krizna@leela /opt:~$ sudo tar -xvf eclipse-SDK-4.2.2-linux-gtk.tar.gz
Step 5 » Create a new desktop file eclipse.desktop in /usr/share/applications/ and add the below lines .

[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 6 » Now goto /usr/share/applications and find eclipse.desktop file for launching eclipse , you can drag this file to the launcher.
install eclipse ubuntu 12.04
good luck

9 Comments

  1. Hi Thanks for the guide. I was able to install eclipse in Ubuntu 12.04 and get it working but somehow when I rebooted, it seemed to have been replaced by eclipse from the software center. I am quite new to ubuntu or linux environment. Would you have any idea how to sort this out? Thanks.

  2. getting error as Details: Failed to execute child process “/home/turbo/Documents/eclipse/eclipse” (No such file or directory)

    i have kekpt the file in the mentioned folder but even i tried to keep it in “/opt/eclipse/eclipse” location as well but same error persists.

    Please help!!!

    Ubuntu 12.0

  3. getting error as Details: Failed to execute child process “/home/turbo/Documents/eclipse/eclipse” (No such file or directory)

    i have kekpt the file in the mentioned folder but even i tried to keep it in “/opt/eclipse/eclipse” location as well but same error persists.

    Please help!!!

    Ubuntu 12.0

1 Trackback / Pingback

  1. STM32Fx Ailesinde Uygulama Geliştirmek İçin, Ubuntu İşletim Sisteminde, GNU GCC Arm Derleyicisi İle Eclipse Ortamının Hazırlanması - Yiğit Yüce

Leave a Reply

Your email address will not be published.


*