Install Eclipse IDE on Ubuntu Linux 14.04
Eclipse is an integrated development environment (IDE) used in computer programming. It contains a base workspace and an extensible plug-in system for customizing the environment. Eclipse is written mostly in Java and its primary use is for developing Java applications, but it may also be used to develop applications in other programming languages through the use of plugins,
Eclipse needs java as pre-requisite , run following command to install java on your ubuntu 14.04 system.
sudo apt-get install openjdk-7-jdk
once the java installation is complete, download Eclipse
according to your operating system architecture, i.e. 32 bit or 64 bit.
Once the download is complete, move the eclipse downloaded installer to /opt.
sudo mv eclipse-java-luna-SR2-linux-gtk.tar.gz /opt
Now go into opt partition of your system and extract the eclipse installer
tar –xvf eclipse-java-luna-SR2-linux-gtk.tar.gz
Create a launcher shortcut for Eclipse, create a desktop file, named eclipse.desktop in /usr/share/applications/ by running the following Gedit command.
sudo gedit /usr/share/applications/eclipse.desktop
It will launch an empty file, copy and paste the followings content into this empty file, as shown in following screenshot.
Comment=Integrated Development Environment
Congratulations, Eclipse has been installed successfully, launch it from Applications menu.