Saturday, September 10, 2016

How to Install Eclipse IDE on Ubuntu 16.04

    Eclipse is a well known Integrated Development Environment. It is used by developers all around the world to code their application, it is primarily developed in Java, but programmers can use it to code their applications in various languages like C/C++, COBOL, Fortran, Perl, PHP, Python, Ruby on Rails etc. It is a cross platform application and runs fine on Microsoft Windows, Linux, Solaris and Mac OS.


Installation instructions:

    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 16.04 system.

 for Java 7
sudo apt-get install openjdk-7-jdk

or for Install Java 8  Click links

  It might take some moments to download and install java, once the installation is complete, download Eclipse according to your operating system architecture, i.e. 32 bit or 64 bit.

    run below commands one by one:

    32Bit OS
$ cd Downloads

$ tar –xvf eclipse-jee-neon-R-linux-gtk.tar.gz

$ sudo mv eclipse /opt

sudo gedit /usr/share/applications/eclipse.desktop

    64Bit OS
$ cd Downloads

$ tar –xvf eclipse-jee-neon-R-linux-gtk-x86_64.tar.gz

$ sudo mv eclipse /opt

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.

[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.

$ 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

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.





12 comments:

  1. Can you please send me the link for java-neon tar.gz installer. I downloaded it but after extracting it, I can't find eclipse-inst file in it

    ReplyDelete
  2. Thank you soo much, it's working perfectly ^_^

    ReplyDelete
  3. Really Good blog post.provided a helpful information.I hope that you will post more updates like this Ruby on Rails Online Training

    ReplyDelete
  4. nice work dude i am fall in love with your work kep posting like this dude
    take a look at my work my website here
    any way thanks for ur work keep posting like this

    ReplyDelete
  5. very specific nice content. This article is very much helpful and i hope this will be an useful information for the needed one.Keep on updating these kinds of informative things
    I likable the posts and offbeat format you've got here! I’d wish many thanks for sharing your expertise and also the time it took to post!!

    Best Website For Mod Apps & Games 
    AIO https://aiodownloaderatoz.blogspot.com<

    TrackView Pro 

    CamScanner -Phone PDF 

    Neutrino+ 

    Pocket Mine

    Spotify Music Premium  

    Instagram 

    MINI MILITIA MOD 

    WPS Office 


    ReplyDelete