Linux

How to Install Eclipse IDE on Ubuntu 20.04

How to Install Eclipse IDE on Ubuntu 20.04

Eclipse is an Integrated Development Environment that is widely used for developing JAVA applications. It is also used to develop 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 the Eclipse Public License, a free and open source license.

Here, we will see how to install Eclipse IDE on Ubuntu 20.04.

Install Eclipse IDE on Ubuntu 20.04

To be able to run the commands in this post, you must have sudo rights.

Install Java

Update the system repository index.

sudo apt update

Eclipse requires Java JDK 8 or newer to be available on your machine. You can use Oracle JDK or OpenJDK.

For this demo, I will use OpenJDK 11.

sudo apt install -y openjdk-11-jdk

Verify the Java version on your machine.

java -version

Output:

openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)

Download Eclipse

Download the latest version of Eclipse IDE (2020-03) from the official page using a web browser.

OR

You can download the Eclipse package through the terminal using the following command (risk changed).

sudo apt install -y wget

wget http://mirror.umd.edu/eclipse/technology/epp/downloads/release/2020-06/R/eclipse-java-2020-06-R-linux-gtk-x86_64.tar.gz

Extract the Eclipse package to the directory you want (eg / usr /).

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

The Eclipse Symlink can be executed to / usr / bin path so that other users on your computer can use the Eclipse IDE from the command line.

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

Create the Eclipse Launcher Icon

In addition to the command line, you can set the launcher icon in GNOME to start Eclipse IDE.

sudo nano /usr/share/applications/eclipse.desktop

Copy and paste the following information into the file above.

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse IDE
Comment=Eclipse IDE
Exec=/usr/bin/eclipse
Icon=/usr/eclipse/icon.xpm
Terminal=false
Type=Application
StartupNotify=false

Access Eclipse IDE

Command line

eclipse

GUI

Go to Activities ┬╗Look for the Eclipse IDE.

1

Launch Eclipse IDE

Choose a directory to save Eclipse IDE preferences and artifacts.

2

Eclipse Workspace Settings

Eclipse IDE 2020-03 runs on Ubuntu 20.04:

3

Eclipse IDE Runs on Ubuntu 20.04

Conclusion

That is all. I hope you have learned how to install Eclipse IDE on Ubuntu 20.04. You can visit Eclipse Market Place to download the plugin to expand the Eclipse IDE’s functionality.

Related posts

How to Destroy / Erase Data Safely on Hard Drive with Damaged on Linux

Linux

How to Install MySQL on Ubuntu 20.04

Linux

How to Set an SSH Key on Ubuntu 20.04

Linux

How to Make a Minecraft Server on Ubuntu 20.04

Linux

How to Make a Bootable Linux USB Drive Using Linux

Howto

How To Install NTP (Chrony) On CentOS 8 / CentOS 7 & RHEL 8 / RHEL 7

Linux

How to install Grafana Enterprise Edition on Ubuntu Server 20.04

Linux

How to Set Up WireGuard VPN on CentOS 8

Linux

How to Install Apache on Ubuntu 20.04

Linux