Site icon Edumotivation

How to Install Eclipse IDE on Ubuntu 20.04

How to Install Eclipse IDE on Ubuntu 20.04

Eclipse IDE is written in Java. It mainly consists of a base ‘Workspace’ and a plug-in system so that we can add more features to it through plugins and extend the functionality of the IDE.

You can easily combine multiple languages support and other features into any of our default packages, and the Eclipse Marketplace allows for virtually unlimited customization and extension.

Eclipse works on all the major platforms including Windows, Mac OS, Linux, etc. and boasts of powerful features that can be used to develop full-fledged projects.

This IDE application is famous for our Java Integrated Development Environment (IDE) and defined as platform for developing the computer-based applications using various programming language like JAVA, Python, C/C++, Ruby, We have a number of pretty cool IDEs, including our C/C++ IDE, JavaScript/TypeScript IDE, PHP IDE, and more.

Features Of Eclipse IDE

Advantages and Disadvantages

Every application has some advantages and disadvantages. Here we have listed our observations on Eclipse IDE.

Pros:

Cons:

Which IDE do you develop with?

The graph here is consistent with other recent surveys: IntelliJ passing Eclipse in the last one to two years, and Apache NetBeans staying at around 10% of the market.

The 45% total votes of IntelliJ consist of 32% IntelliJ IDEA Ultimate Edition (the paid version), 11% IntelliJ Community Edition (the free version), and 2% Android Studio users.

The Eclipse category includes Eclipse STS, JBoss tools, Rational Application Developer and other Eclipse-based tools.

Image Credit: snyk.io

Basic system requirements for Eclipse IDE:

This article explains How to install Eclipse IDE on Ubuntu 20.04.

Installing the Default Java runtime environment (JRE)

Eclipse is a Java-based application and like I mentioned in minimum system requirements, we have to install Java Runtime Environment first.

The easiest option for installing Java is to use the version packaged with Ubuntu. By default, Ubuntu 20.04 includes Open JDK 11, which is an open-source variant of the JRE and JDK.

To install this version, first update the package index:

$ sudo apt update

Next type the following command to check whether Java is already installed on your system.

$ java -version

If Java is not currently installed, execute the following command to install the default Java Runtime Environment (JRE), which will install the JRE from OpenJDK 11.

$ sudo apt install default-jre

Installing Eclipse IDE as a Snap Package

A snap package is a type of universal Linux package that you can enjoy irrespective of the distro. Its an self-contained software packages that include the binary all dependencies needed to run the application.

All you need is the snap service pre-configured, In the case of Ubuntu 20.04, it comes with snap pre-installed.

If snapd package is not already installed then you can install it by running following command.

$ sudo apt install snapd

Note: Snap packages can be installed from either the command-line or via the Ubuntu Software application.

This is actually the Snap version of the Eclipse IDE. It can be used on any Linux distribution that has Snap support.

Open your terminal (Ctrl+Alt+T) and execute the following command to download and install the Eclipse snap package on your system.

$ sudo snap install --classic eclipse

On successful installation of Eclipse, you should see the following output.

Output:
eclipse 2019-03 from Snapcrafters installed

That’s It. Now you can open the Eclipse IDE application with the help of Activities search bar.

Starting Eclipse IDE

In the Activities search bar type “Eclipse” and click on the icon to launch the application.

When you start Eclipse for the first time, a window like the following will appear asking you to select a Workspace directory.

The default directory should be fine. Click Launch to proceed.

Note: Check the checkbox “Use this as the default and do not ask again” to make this location as default.

That’s It. Here is the Welcome screen of Eclipse IDE application.

Conclusion

I hope that now you have a good understanding of How to Install Eclipse IDE on Ubuntu 20.04 LTS Focal Fossa.

If anyone does have any questions about what we covered in this guide then feel free to ask in the comment section below and I will do my best to answer those.

Exit mobile version