How to Install Eclipse IDE on Ubuntu 20.04 | 18.04

How to Install Eclipse IDE on Ubuntu 20.04 | 18.04

Eclipse, a popular Java IDE, can be readily installed on Ubuntu to help you manage your applications. This thread will come in handy if you need assistance installing it.

This short video demonstrates how to install Eclipse IDE on Ubuntu 20.04 for students and new users.

Eclipse is a cross-platform, widely used Java integrated development environment (IDE) that makes it simple to set up and manage Java projects.

It also has plugins that allow it to support programming languages like PHP, JavaScript, C++, and others.

If you’re looking for an easy-to-use IDE platform to construct your next application, Eclipse is a good option.

Check visit Eclipse’s website for more information. Follow the instructions below to install Eclipse on Ubuntu:

Step 1: Install Java

Because Eclipse is a Java-based IDE, you’ll need to install the Java Runtime Environment (JRE) to use it.

To install the opensource version of Java, use the commands below.

sudo apt update
sudo apt install default-jre

Install Java JRE.

Step 2: Install Eclipse from Snap

Run the lines below to install Eclipse from Snap once you’ve installed Java JRE.

sudo snap install –classic eclipse

Using the Snap package management tool, this will install the most recent version.

After you’ve installed Eclipse, go to the Activities dashboard, search for it, and launch it.

Install Eclipse Manually

The procedures below should assist individuals who want to manually install Eclipse. To install the software, you’ll use Eclipse’s default installer.

To begin, download the installer from the link below.

https://www.eclipse.org/downloads/

After downloading, follow the steps below to unpack and install the downloaded file.

To extract the downloaded file into your Home directory’s Downloads folder, use the commands below.

tar xfz ~/Downloads/eclipse-inst-linux64.tar.gz

Run the lines below to start the installation procedure after extracting the file.

~/Downloads/eclipse-installer/eclipse-inst

Choose the tools and languages you want to work with.

Accept the terms of the license agreement and select the default installation folder.

To begin using the application, click the Launch button when it has been downloaded and installed.

You may need to build a desktop icon to activate the program if you installed it manually. To make a basic desktop icon for Eclipse, perform the scripts below.

nano ~/.local/share/applications/eclipse.desktop

After that, copy and paste the following content into the file and save it.

[Desktop Entry]
Name=Eclipse Eclipse
Type=Application
Exec=/home/richard/eclipse/java-2020-03/eclipse/eclipse
Terminal=false
Icon=/home/richard/eclipse/java-2020-03/eclipse/icon.xpm
Comment=Eclipse Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse

Exit after saving the file.

Then, to make it executable, run the commands below.

chmod +x ~/.local/share/applications/eclipse.desktop

Substitute your own account name for the highlighted username (richard)… also, the Exec = location and icon.xpm should depend on where Eclipse got installed on your system.

Exit after saving the file.

You should be able to customize the app for your surroundings once it has launched.

Enjoy!

Conclusion:

This short article demonstrated how to install Eclipse on Ubuntu 18.04 | 20.04 systems. Please use the comment form to report any errors you find above.

 

 
Loading Facebook Comments ...