How To

Install Eclipse IDE on Ubuntu 18.04: Quick Snap Setup Guide

Eclipse is one of the most widely used integrated development environments in the world. It is best known as a Java IDE, but through its plugin system it supports many other languages including C++, PHP, Python, and JavaScript. The plugin ecosystem is massive — you can extend Eclipse to handle almost any language, framework, or platform. It is particularly popular for enterprise Java development and Android application projects.

The version of Eclipse available in Ubuntu’s default repositories (3.8.1) is several years out of date. The easiest way to get the latest stable release on Ubuntu 18.04 is through the Snap package manager, which handles installation and future updates automatically.

This guide shows you how to install Eclipse IDE on Ubuntu 18.04 using Snap and how to configure your first workspace.

<strong>Prerequisite:</strong>&nbsp;You need sudo access.

Install the Java Runtime Environment

Eclipse is a Java-based application and needs a Java Runtime Environment (JRE) to run. Install the default OpenJDK package:

bashsudo apt install default-jre

If you already have Java installed, skip this step. Eclipse detects the available JRE automatically on launch.

Install Eclipse IDE on Ubuntu Using Snap

Snap gives you the latest stable Eclipse release and keeps it updated automatically. Install it with the following command:

bashsudo snap install --classic eclipse

The --classic flag is required because Eclipse needs access to system resources that are restricted in the standard Snap confinement sandbox. The download may take a few minutes depending on your connection speed.

Once the installation completes, you should see:

eclipse 2019-03 from Snapcrafters installed

Launch Eclipse and Set Up Your Workspace

With Eclipse installed, open it from the Activities menu by searching for “Eclipse,” or launch it from the terminal by typing eclipse.

The first time Eclipse opens, it asks you to choose a workspace directory. This is the folder where Eclipse stores all your projects, settings, and metadata. The default path (~/eclipse-workspace) works well for most users. Click Launch to proceed.

After selecting your workspace, you will see the Eclipse Welcome screen. Close it to open the main IDE view. From here, create a new project by going to File > New > Project and selecting your project type.

Add Plugins Through the Marketplace

One of Eclipse’s biggest strengths is its plugin system. You can add support for new languages, build tools, and frameworks without switching to a different IDE.

To open the Marketplace, go to Help > Eclipse Marketplace. Search for a plugin by name, click Install, and restart Eclipse when prompted.

Popular plugins include PyDev for Python development, Wild Web Developer for JavaScript and HTML, and Eclipse PHP Development Tools for PHP.

Keep Eclipse Updated

Because Eclipse was installed via Snap, updates happen automatically in the background. When a new version is available, Snap downloads and applies it without any action from you.

To trigger a manual update check:

bashsudo snap refresh eclipse

Eclipse IDE is now installed and ready to use on your Ubuntu 18.04 machine. Create your first project from the File menu and explore the Marketplace to add any tools your workflow requires. Leave a comment below if you run into any issues during installation.

Cyber Defence

Recent Posts

Install phpMyAdmin on Ubuntu 18.04 with Apache: Setup Guide

phpMyAdmin is a free, open-source PHP application that provides a browser-based interface for managing MySQL and…

10 hours ago

Install Zabbix on Ubuntu 18.04: Server Setup with MySQL Backend

Zabbix is a mature open-source infrastructure monitoring platform that collects metrics from network devices, servers, virtual…

10 hours ago

Install Gradle on Ubuntu 18.04: Set Up OpenJDK and Environment

Gradle is a powerful open-source build automation tool used primarily for Java, Kotlin, Groovy, and Android…

10 hours ago

Install TeamViewer on Ubuntu 18.04: Download the .deb and Set Up

TeamViewer is a proprietary cross-platform remote access application for remote control, desktop sharing, file transfer, and online meetings. It is one of the most widely used remote support tools in the world, available for Windows, macOS, Linux, iOS, and Android. TeamViewer is not included in the Ubuntu repositories because it is proprietary software. This guide covers how to install TeamViewer on Ubuntu 18.04 using the official .deb package. The same steps apply to Ubuntu 16.04, Debian, Linux Mint, and Elementary OS. <strong>Prerequisite:</strong>&nbsp;You&nbsp;need&nbsp;sudo&nbsp;access. Install TeamViewer on Ubuntu: Download the .deb Package Download the official TeamViewer .deb package. The _amd64.deb suffix indicates this package is for 64-bit x86-64 systems. For ARM-based machines, download the appropriate package from the TeamViewer Linux downloads page: bashwget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb Install the package using apt. The ./ prefix tells apt this is a local file path, not a package name from the repositories:…

11 hours ago

Install Nagios Core on Ubuntu 18.04: Build from Source Guide

Nagios is one of the most widely used open-source infrastructure monitoring systems in the world. It…

11 hours ago

Install Laravel on Ubuntu 18.04 with Composer: Setup Guide

Laravel is an open-source PHP web application framework built around an expressive, developer-friendly syntax. It is…

1 day ago