Ubuntu 20.04 Eclipse installation

In this tutorial you will learn how to install Eclipse IDE for Java developers on Ubuntu 20.04 Focal Fossa Linux desktop.

In this tutorial you will learn:

  • How to install Eclipse
  • How to install Java prerequisites
  • How to launch Eclipse

Eclipse IDE on Ubuntu 20.04

Eclipse IDE on Ubuntu 20.04

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa
Software Eclipse IDE for Java Developers
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

Ubuntu 20.04 Eclipse installation step by step instructions

  1. Let’s begin with the Eclipse installation. Open up your terminal and execute the following command:
    $ sudo snap install --classic eclipse
    
    Eclipse installation command on Ubuntu 20.04

    Eclipse installation command on Ubuntu 20.04



  2. Eclipse IDE required Java JRE as a prerequisite. Therefore, our next step is to install default-jre package. To do so run the bellow command:
    $ sudo apt install default-jre
    
    Installation of Eclipse java prerequisite.

    Installation of Eclipse java prerequisite.

  3. start the Eclipse IDE

    Use top left Activities menu to search for eclipse application. Click on a relevant icon to start the Eclipse IDE.

  4. Set your workspace directory and you are ready to go

    Set your workspace directory and you are ready to go.