How to Install The Latest Eclipse 4.7.3a in Ubuntu 18.04

The latest release of Eclipse IDE now is quite easy to install in Ubuntu 16.04, and Ubuntu 18.04 since it’s made into snap package.

Snap is an universal Linux package format. It ships with most run-time libraries so it’s normally large in file size. The snap applications run in sandbox and they can be installed directly from Ubuntu Software.

1. So you can just open Ubuntu Software, search for and install Eclipse 4.7.3a snap package:

[ac-box style=”tip”]1. There are 2 Eclipse packages in Ubuntu Software. Check package details for version and source.

2. You see the alert “The application is unconfined. It can …”. That’s because the snap is installed in --classic mode so the IDE can access user directories.

3. Ubuntu 16.04 users who never installed a snap may need to install snapd first via command:

sudo apt-get install snapd snapd-xdg-open

[/ac-box]

For those prefer Linux command, run command in terminal to install the Eclipse snap:

snap install --classic eclipse

2. Eclipse needs java. If you don’t have it, run command in terminal to install OpenJDK java environment:

sudo apt-get install default-jre

You can also install Oracle Java 8 and/or 10 via this tutorial.