The Eclipse installation kit (version 3.8.1) included in the Ubuntu repository is out of date. The best way to update the new Eclipse IDE on Ubuntu 18.04 is to use the snappy packaging system.
- How To Install Logstash on Ubuntu 18.04 and Debian 9 | Tutorial on Logstash Configuration
- How to Install Python Pip on Ubuntu 20.04
- How To Install Docker on Ubuntu 18.04 & Debian 10
Install the Eclipse
The new stable edition of Eclipse is Eclipse 2019-03, is available now:
To install Eclipse on your Ubuntu system, follow the following steps:
Since Eclipse is an IDE based on Java, you will need the Java Runtime Environment (JRE) to be installed to run it.
Run the commands below to install the Java opensource update.
sudo apt update
Sudo apt configuration default-JRE
Java JRE has to be mounted.
Download and install the Eclipse Snap kit to your machine by typing:
sudo snap install --classic Eclipse
When you install Eclipse successfully, you should see the following output:
eclipse 2019-03 from Snapcrafters installed
Eclipse Manually Install
The steps below should be helpful for those who want to install Eclipse manually. You’ll be using the regular Eclipse installer to install the app.
Firstly, to download the installer, go to the page below.
Or you can use the download and extract commands below.
Run the following commands to remove the downloaded file from your Home Directory Downloads folder.
tar xfz ~/Downloads/eclipse-inst-linux64.tar.gz ~/Downloads/eclipse-installer/eclipse-inst ~/Downloads/eclipse-installer/eclipse-install installer
You will start the installation wizard with the second instruction.
Pick the tools and language that you want to create.
You can now open Eclipse on your Ubuntu device by clicking on the Eclipse icon (Activities -> Eclipse):
A window like this will appear when you start Eclipse for the first time, asking you to pick a Workspace directory:
The default directory ought to be all right. To proceed, press Launch.
On your Ubuntu 18.04 computer, now you have learned how to install Eclipse. You can start working on your project in Java now.