Install Eclipse IDE on Ubuntu Linux 15.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 15.04 system.
once the java installation is complete, download Eclipse according to your operating system architecture, i.e. 32 bit or 64 bit.
Download Eclipse - http://www.eclipse.org/downloads/?osType=linux
Once the download is complete, move the eclipse downloaded installer to /opt.
Now go into opt partition of your system and extract the eclipse installer
Create a launcher shortcut for Eclipse, create a desktop file, named eclipse.desktop in /usr/share/applications/ by running the following Gedit command.
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
Save the file, and now run following command on terminal to automatically install this desktop file on your ubuntu system.
As last step of the install, go to /usr/local/bin and create eclipse symlink, following two commands should take care of this:
Congratulations, Eclipse has been installed successfully, launch it from Applications menu.