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.
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.
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 the latest version of Eclipse IDE (2020-03) from the official page using a web browser.
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
Go to Activities »Look for the Eclipse IDE.
Launch Eclipse IDE
Choose a directory to save Eclipse IDE preferences and artifacts.
Eclipse Workspace Settings
Eclipse IDE 2020-03 runs on Ubuntu 20.04:
Eclipse IDE Runs on Ubuntu 20.04
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.