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, 

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 15.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]






Comment=Integrated Development Environment



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.

About Author:

I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Newer Post
Older Post


Post a Comment