How To Install Eclipse IDE on Ubuntu 20.04

 

 

 

 

Eclipse is an integrated development environment commonly used in software development. This program contains a versatile base workspace system and extensible plug-ins for customizing it. When it comes to computing, the program uses Java as well as C/C++, Python, PERL, Ruby, and other languages. It provides extremely useful refactoring tools, as well as flawless Javadoc handling. 

 

 

 

 

We will describe how to install the Eclipse IDE on Ubuntu 20.04 in this tutorial.

 

 

 

 

 

Step 1: Configure VPSie cloud server

 
  1. Sign in to your system or register a newly created one by logging in to your VPSie account. 
  2. Connect by SSH using the credentials we emailed you.
  3. Once you have logged into your Ubuntu 20.04 instance, update your system using following command.

 

sudo apt update

 

 

 

 

 

Step 2: Install Java.

 

 

Your machine must have Java JDK 8 or newer for Eclipse to run. Oracle JDK or OpenJDK are both suitable options, I’ll use OpenJDK 11.

 

 

 

 

 

Run the following command,

 

 

apt-get install openjdk-11-jdk

 

 

 

 

Verify Java installation,

 

 

 

# java -version

 

 

 

 

 

Step 3: Download Eclipse

 

 

 

 

 

The Eclipse IDE latest version can be downloaded from the Eclipse website. Alternatively, you can download Eclipse over a terminal by running the following command.

 

 

 

sudo apt install -y wget

wget https://download.eclipse.org/oomph/epp/2020-06/R/eclipse-inst-linux64.tar.gz

 

 

 

 

Eclipse can be extracted to any directory of your choice “/usr“,

 

 

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

 

 

 

Embed the Eclipse executable in your /usr/bin directory to make Eclipse accessible via the command line,

 

 

 

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

 

 

 

 

 

 

Step 4: Add an icon for the Eclipse launcher

 

 

 

 

Besides the command line, you can launch the Eclipse IDE using the GNOME launcher icon.

 

 

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

 

 

In the above file, paste the following information,

 

 

 

[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

 

 




Step 5: Access Eclipse IDE

 

 

 

 

To access the eclipse, run the following command,



eclipse


 

 

GUI : You can find the Eclipse IDE under Activities and search for it.



 




That’s it. The installation of Eclipse IDE on Ubuntu 20.04 was a simple process. Plug-ins to extend Eclipse IDE’s functionality are available in Eclipse Market Place, so check there.






 

 

Try VPSie for free today!