How to Install Eclipse Oxygen IDE in Debian and Ubuntu

Eclipse is a free integrated development environment IDE which is used by programmers around to write software mostly in Java but also in other major programming languages via Eclipse plugins. The latest release of...

Eclipse is a free integrated development environment IDE which is used by programmers around to write software mostly in Java but also in other major programming languages via Eclipse plugins.

The latest release of Eclipse Oxygen IDE doesn’t come with pre-build binary packages specific for Debian based Linux distributions. Instead, you can install Eclipse IDE in Ubuntu or Debian based Linux distributions via the compressed tar archive file.

In this tutorial we will learn how to install the latest edition of Eclipse Oxygen IDE in Ubuntu or in Debian based Linux distributions.

Requirements:

  1. A Desktop machine with minimum 2GB of RAM.
  2. Java 9 SE SDK installed in Debian based distributions.

Install Eclipse Oxygen IDE in Debian and Ubuntu

For installing Eclipse IDE in your system, first open a browser and go to Eclipse official download page and download the latest version of the tar package specific to your installed Linux distribution architecture.


Alternatively, you can also download Eclipse IDE tarball file in your system via wget utility, by issuing the below command.

-------------- For 64-bit Architecture -------------- $ wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/oxygen/2/eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz -------------- For 32-bit Architecture --------------
$ wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/oxygen/2/eclipse-jee-oxygen-2-linux-gtk.tar.gz

After the download completes, navigate to the directory where the archive package has been downloaded, usually Downloads directories from your home, and issue the below commands to start installing Eclipse Oxygen IDE.

The commands executed below will decompress the archive directly into /opt directory and create a symlink into an executable path for eclipse executable file.

$ cd Downloads/
$ sudo tar xfz eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz -C /opt/
$ ls /opt/eclipse/
$ sudo ln -s /opt/eclipse/eclipse /usr/local/sbin/eclipse
$ ls -l /usr/local/sbin/

Next, create Eclipse desktop launcher icon into system applications directory.

$ sudo nano /usr/share/applications/eclipse-oxygen.desktop

Add the following configuration into the file eclipse-oxygen.desktop.

[Desktop Entry]
Name=Eclipse Oxygen
Comment=Eclipse Oxygen IDE
Type=Application
Encoding=UTF-8
Exec=/usr/local/sbin/eclipse
Icon=/opt/eclipse/icon.xpm
Categories=GNOME;Application;Development;
Terminal=false
StartupNotify=true

After you’ve created Eclipse launcher, use Ubuntu dash to search and open the application. On the first application launch, add Eclipse workspace directory and hit on Launch button to start the application.

Create Eclipse IDE Desktop Workspace

Create Eclipse IDE Desktop Workspace

Eclipse IDE on Ubuntu

Eclipse IDE on Ubuntu

That’s all! The latest version of Eclipse IDE is now installed in your system. Enjoy programming with Eclipse Oxygen.

Posted by wiredgorilla