This enclipse can also be used to develop documents with LaTeX (via the TeXlipse plug-in) and packages for the Mathematica software. The development environment includes Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C / C ++, and Eclipse PDT for PHP.
Eclipse installation package (version 3.8.1) available at Ubuntu repositories outdated. The easiest way is to install the latest Eclipse IDE on Ubuntu 18.04 is to use the snappy packaging system.
In this tutorial, I will show you how to install the latest Eclipse IDE on an Ubuntu 18.04 computer.
Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. Read → How to Create a Sudo User and a Sudo Group on Ubuntu.
How to Install Eclipse
At the time of writing this article, the latest stable version of Eclipse is Eclipse 2019-12.
To install Eclipse on your Ubuntu system, follow the steps below.
1. Eclipse is a Java based application and requires the Java runtime environment (JRE) to be installed in order to run. Install the OpenJDK package default with the command:
$ sudo apt install default-jre
2. Download and install the Eclipse snap package on your Ubuntu OS system, by typing:
$ sudo snap install --classic eclipse
3. After successfully installing Eclipse, you will see the following output:
Output eclipse 2019-03 from Snapcrafters installed
Getting Started with Eclipse
Now that Eclipse is installed on your Ubuntu system, you can start it by clicking on the Eclipse icon (Activities -> Eclipse):
When you start using Eclipse for the first time, a window like the following will appear asking you to locate the Workspace directory:
You can also use the default directory specified by eclipse. And now click Launch to continue:
You have learned how to install Eclipse on your Ubuntu 18.04 computer. You can now start working on your Java-based application or software development project on Ubuntu.
To find more information about how to get started with Eclipse, visit the Eclipse documentation page here.