Source Address: Http://www.krizna.com/ubuntu/install-eclipse-in-ubuntu-12-04/Eclipse installation in Ubuntu 12.04 are very simple. You can install the eclipse using "Software Center" and you may not get the latest version, better download the latest version and install manually. Here we can see how to install the eclipse in Ubuntu manually.
Installing Eclipse in Ubuntu 12.04
Step 1» Before installing eclipse need to install Java, you can either install JRE or JDK.
[email protected]:~$ sudo apt-get install openjdk-7-jre
[or]
If you is going to use eclipse for Java development and then you can install JDK
[email protected]:~$ sudo apt-get install openjdk-7-jdk
Step 2» Download the latest eclipse package from Herehttp://www.eclipse.org/downloads/?ostype=linux
Step 3» Move the package to the/opt directory
[email protected]:~$ sudo mv eclipse-SDK-4.2.2-linux-gtk.tar.gz /opt/
Step 4» Unzip the package by typing the below command
[email protected]:~$ cd /opt
[email protected] /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.
12345678910 |
[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, can drag this file to the Launc Her.
Good luck
(turn) How to install eclipse in Ubuntu 12.04