How To Install Eclipse IDE On Ubuntu 20.04 / 19.10

We can install Eclipse IDE in Ubuntu 20.04 using the two methods. Let’s see, how to install Eclipse IDE on Ubuntu.

Eclipse is an integrated development environment used in computer programming. This requires Java installed on the machine. It contains a basic workspace and extensible plugins in the system for customizing the environment.

Check Out: How To Install Robo 3T MongoDB GUI Power On Ubuntu 20.04

How To Install Eclipse IDE On Ubuntu 20.04 / 19.10

You can download the Eclipse IDE for ubuntu 20.04 from the official website. you must have the java installed on the ubuntu machine. 

ubuntu@ubuntu:~$ sudo apt install default-jre
ubuntu@ubuntu:~$ java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)

Install Eclipse Using Snap:

We can install the eclipse with a snap package with a single command as shown below. 

sudo snap install --classic eclipse

Once the installation is finished. you will get the output: 

eclipse 2019-12 from Snapcrafters installed

You can check the Eclipse by clicking on “Activities” and search “Eclipse“. 

Check Out: How To Install Jupyter Notebook On Ubuntu 20.04 / 19.10

Open the “Eclipse” then it will ask you to set up the workspace directory. you can have a default location or change it and click on “Launch“. 

install eclipse ubuntu

You can start working here. 

install eclipse in ubuntu

Install Eclipse Using Official Packages:

We can install eclipse using the official package on ubuntu. This is a little different from the above method. Use the below command to extract the package. Download the package as well.

sudo tar -zxvf eclipse-java-2020-06-R-linux-gtk-x86_64.tar.gz -C /usr/

Check Out: How To Install Youtube-dl To Download Videos on Ubuntu 20.04/19.10

Create a symbolic link using the below command so that other users can also use this. 

 sudo ln -s /usr/eclipse/eclipse /usr/bin/eclipse

We need to create an Eclipse Launcher Icon and use the below command. 

ubuntu@ubuntu:~$ sudo vim /usr/share/applications/eclipse.desktop

Put these codes in the file and save it. 

[Desktop Entry]
Name=Eclipse IDE
Comment=Eclipse IDE

Now run the “eclipse” from the terminal or you can check the Icon on “Activities” and search for “Eclipse“.

eclipse ide ubuntu 20.04

In a similar way, you can get Eclipse on another ubuntu distro like 18.04, etc.

That’s it.

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

1 thought on “How To Install Eclipse IDE On Ubuntu 20.04 / 19.10”

Leave a comment