Saturday, 22 August 2015

Install Eclipse IDE on Ubuntu Linux 15.04

Had to install eclipse php on my new development vm today I used THIS article.

Installing Eclipse on ubuntu

Installing Eclipse on ubuntu is not very complex process, first of all make sure to install Java on your Linux system, Eclipse needs java as pre-requisite , run following command to install java on your ubuntu 15.04 system.
sudo apt-get install openjdk-7-jdk
It might take some moments to download and install java, once the installation is complete, download Eclipseaccording 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
move eclipse
Now go into opt partition of your system.
cd /opt
Extract the eclipse installer here.
tar –xvf eclipse-java-luna-SR2-linux-gtk.tar.gz
extract eclipse
We are on the most important stage of installation now, 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 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
gedit eclipse
Save the file, and now run following command on terminal to automatically install this desktop file on your ubuntu system.
sudo desktop-file-install /usr/share/applications/eclipse.desktop
As last step of the install, go to /usr/local/bin and create eclipse symlink, following two commands should take care of this:
cd /usr/local/bin
sudo ln -s /opt/eclipse/eclipse
Congratulations, Eclipse has been installed successfully, launch it from Applications menu.
It will ask you to specify workspace when loaded, once done, main page will be loaded.
eclipse workspace
Start coding your programs now :)
eclipse landing page

Conclusion

Eclipse has millions of users all around the world, its works like charm on all operating systems and so far it is considered one of the best IDEs for writing software applications

No comments:

Post a Comment