The most popular free open source software development environment has a new version for Ubuntu Linux users. Here’s how to install it on your system
Eclipse needs no introduction to developers. It’s one of the most popular IDE (Integrated Development Environment) for Java, and even other top rated programming languages like C, C++, PHP, Perl, Python, Ruby, Ada, or even COBOL. Here, we tell you how to install it on Ubuntu Linux.
You need to install Java JDK and JRE before installing Eclipse in Ubuntu 14.04. You can install it using a software center, but you may not get the latest version. It is better to download the latest version and install it manually.
Step 1: Install Java (JRE/JDK)
$ sudo apt-get install openjdk-7-jre
$ sudo apt-get install openjdk-7-jdk
Step 2: Download Eclipse SDK IDE from this link:
http://www.eclipse.org/downloads/?osType=linux
Step 3: Open terminal, run command to move downloaded package to /opt directory as shown in the screenshot.
Step 4: Extract Package and run the following commands. Ensure that the file-name is correct on your version.
$ cd /opt/
$ sudo tar -xvzf eclipse-SDK-4.4-linux-gtk-x86_64.tar.gz
Step 5: 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 it.
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
Step 6: Now, go to /usr/share/applications and find eclipse.desktop file for launching eclipse. You can drag this file to the launcher or simply search it.
Step 7: Run the application and set the workspace folder or leave it default.
Press OK and Launch Eclipse.