Read in 2 minutes
How to Install the Latest Eclipse IDE on Ubuntu 18.04
In this tutorial we’ll show you how to install the latest Eclipse IDE on a Ubuntu 18.04 machine.
The Eclipse installation package (version 3.8.1) that is available in the Ubuntu repository is outdated. The easiest way is to install the latest Eclipse IDE on Ubuntu 18.04 is by using the snappy packaging system.
Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges.
At the time of writing this article, the latest stable version of Eclipse is Eclipse 4.8.0 (Photon).
To install Eclipse on your Ubuntu system, follow these steps:
Eclipse is a Java-based application and it requires a Java runtime environment (JRE) to be installed in order to run. Install the default OpenJDK package with:
sudo apt-get install default-jre
We will be installing Eclipse using the snappy packaging system. To download and install the Eclipse snap package on your system, type:
sudo snap install --classic eclipse
On successful installation of Eclipse, you should see the following output:
eclipse 4.8.0 from 'snapcrafters' installed
Now that Eclipse is installed on your Ubuntu system you can start it by clicking on the Eclipse icon (
Activities -> Eclipse):
When you start Eclipse for the first time, a window like the following will appear asking you to select a Workspace directory:
The default directory should be fine. Click
Launch to proceed:
You have learned how to install Eclipse on your Ubuntu 18.04 machine. You can now start working on your Java project.
To find more information about how to get started with Eclipse visit the Eclipse documentation page.
If you have any question, please leave a comment below.