Monday, December 18, 2017

How to Install Eclipse IDE on Ubuntu 17.04, 17.10

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

 for Java 7

$ sudo apt-get install openjdk-7-jdk

or for Install Java 8  Click links  or Install Java 9  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. 


Decompress the downloaded archive in your file browser and navigate to the result “eclipse-installer” folder, Double-click on file eclipse-inst.


When the wizard launches, select install item.


   You may select Advanced Mode from top-right menu to get more options, network proxy settings, etc.

Select installation folder and finally click INSTALL button.


 Final, create a launcher shortcut for eclipse IDE.

   Open terminal from Unity Dash, Application Launcher, or via Ctrl+Alt+T shortcut key. When it opens, run command below:

$ 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=/home/USERNAME/eclipse/jee-oxygen2/eclipse/eclipse
Terminal=false
Icon=/home/USERNAME
/eclipse/jee-oxygen2/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse

 Depends on your installation folder, check out in file browser, change the value in red


Eclipse has been installed successfully, launch it from Unity Dash.



1 comment: