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,
including: Ada, ABAP, C, C++, COBOL, Fortran, Haskell, JavaScript, Julia,Lasso, Lua, NATURAL, Perl, PHP, Prolog, Python, R, Ruby (including Ruby on Rails framework), Rust, Scala, Clojure, Groovy, Scheme, and Erlang. It can also be used to develop packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.
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
cd /opt
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.
[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
Congratulations, Eclipse has been installed successfully, launch it from Applications menu.