How to Install Eclipse IDE on Ubuntu 20.04

Eclipse is a widely used Integrated Development Environment for JAVA application development. It is also used for developing applications in various programming languages such as COBOL, Ada, C, C++, Perl, PHP, Python, R, Ruby, Clojure, Scala, Groovy, and Scheme with the help of plug-ins.
Eclipse is released under Eclipse Public License, a free and open-source license.
In this tutorial you will learn how to install Eclipse IDE for Java developers on Ubuntu 20.04 Focal Fossa Linux desktop.


In order to install Eclipse IDE, you have to install JRE (Java Runtime Environment) on your Ubuntu machine:

$ sudo apt update
$ sudo apt install openjdk-14-jre

To verify that Java was successfully installed, let’s run:

$ java --version


openjdk 14.0.1 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7-Ubuntu-1ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0.1+7-Ubuntu-1ubuntu1, mixed mode, sharing)

Install Eclipse in Ubuntu 20.04 by installer package

At the time of this writing, the latest version of Eclipse is: Eclipse IDE 2020-06. Eclipse can be downloaded via the browser on its official website
By default, the installer package is downloaded into the directory ‘~/Downloads’ with name: ‘eclipse-inst-linux64.tar.gz’.
Or by using the wget command as:

$ wget
Extract Eclipse package to your desired directory (Ex. /opt):

$ sudo tar -xf eclipse-inst-linux64.tar.gz -C /opt
Extract eclipse installation file
Extract eclipse installation file

In order to install Eclipse, launch the installer file ‘eclipse-inst’ by running the following command:

$ cd /opt/eclipse-installer
$ sudo ./eclipse-inst

Eclipse packages window appears, let’s choose your favorite package IDE.

Eclipse installer
Eclipse installer

For example, select the Eclipse IDE for Java Developers then click INSTALL:

Eclipse IDE for Java Developers
Eclipse IDE for Java Developers
Next, you have to accept the Eclipse Foundation Software User Agreement.

Accept the Eclipse Foundation Software User Agreement.
Accept the Eclipse Foundation Software User Agreement.

After the installation has completed, Eclipse is ready to be launched.

Create launcher icon

Once the Eclipse is downloaded and installed successfully, you may need to create a shortcut to launch your IDE. Using your favorite editor to create a file named ‘eclipse.desktop’ and enter the following lines to it:

[Desktop Entry]
Comment=Integrated Development Environment

Please note that the paths in lines ‘Exec=‘ and ‘Icon=‘ are depended on your system. You can find the path in Exec line by running command:

$ which eclipse

Now, let’s enable the launcher icon:

$ sudo chmod +x eclipse.desktop
$ sudo mv eclipse.desktop /usr/share/applications/eclipse.desktop

That’s all. From now on, you can search for eclipse and launch it in the Applications center on your Ubuntu machine.


You have installed Eclipse IDE on your Ubuntu 20.04 LTS system. Let’s start working with your application.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button