(Last Updated On: December 26, 2018)

Welcome to our guide on how to Install Latest Eclipse IDE on Ubuntu 18.04 / Ubuntu 16.04.  Eclipse is an Integrated Development Environment (IDE) widely used in Java, PHP and C/C++ development. Support for other programming languages is available via plug-ins.

Eclipse IDE comes with intuitive Code editor with compiler, interpreter, syntax highlighting and debugging tools for your Programming Language. In this post, we will see how to install Eclipse IDE on Ubuntu 18.04 / Ubuntu 16.04 using  Ubuntu Make.

Install Java Dependency

Eclipse is written in Java and you need to have Java installed.  Use the guide below:

How to Install Java 11 on Ubuntu 18.04 /16.04 / Debian 9

Install Latest Eclipse IDE on Ubuntu 18.04 / Ubuntu 16.04

Before you can install Eclipse IDE on Ubuntu 18.04 / Ubuntu 16.04 using  Ubuntu Make, you need to install the latest release of Ubuntu Make from PPA.

sudo add-apt-repository ppa:lyzardking/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make

Umake has three listing options:

--list to show all the frameworks
--list-available to show the available frameworks
--list-installed to show the installed frameworks

You can see all the frameworks using:

$ umake  --list-available

Once Umake is installed, use it to install Eclipse IDE for your Programming language. Available tools to install are:

eclipse: Eclipse Java IDE [installed]
eclipse-cpp: Eclipse C/C++ IDE
eclipse-javascript: Eclipse IDE for JavaScript and Web Developers
eclipse-jee: Eclipse JEE IDE
eclipse-php: Eclipse PHP IDE

To install the Eclipse IDE for Java Developers, run the command:

$ umake ide eclipse
Choose installation path: /home/jmutai/.local/share/umake/ide/eclipse
Downloading and installing requirements                                               |
100% |################################################################################|
Installing Eclipse
/home/jmutai/.local/share/umake/ide/eclipse/eclipse                                   |
|#####################################################################################|
Installation done

See below screenshot.

You can choose to use the default installation path or provide a different directory.

To Eclipse IDE for C/C++ Developers, run:

$ umake ide eclipse-cpp
Choose installation path: /home/jmutai/.local/share/umake/ide/eclipse-cpp
Downloading and installing requirements                                        |
100% |#########################################################################|
Installing Eclipse CPP
/home/jmutai/.local/share/umake/ide/eclipse-cpp/eclipse#                       |
|##############################################################################|
Installation done

Do the same for available installation tools for other languages by substituting eclipse with the package name, e.g eclipse-php

You can list installed frameworks by running:

$ umake --list-installed
eclipse: Eclipse Java IDE
	path: /home/jmutai/.local/share/umake/ide/eclipse
eclipse-cpp: Eclipse C/C++ IDE
	path: /home/jmutai/.local/share/umake/ide/eclipse-cpp

Launching Eclipse IDE on Ubuntu 18.04 / Ubuntu 16.04

After the installation of Eclipse IDE, you can launch the IDE from CLI

[email protected]:~$ eclipse-
eclipse-cpp eclipse-java

E.g to start Java Eclipse IDE, run:

$ eclipse-java

The same can be done from your Desktop Launcher

On the first launch, you’ll be asked to Select Workspace Directory.

The default should just work fine.

Learn more from Eclipse Documentation web page.