The objective is to install the latest Eclipse IDE on Ubuntu 18.04 Bionic Beaver Linux
Operating System and Software Versions
- Operating System: – Ubuntu 18.04 Bionic Beaver
- Software: – Eclipse Oxygen.2 IDE – 4.7.2
Privileged access to your Ubuntu System as root or via
sudo command is required.
- # – requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ – requires given linux commands to be executed as a regular non-privileged user
Other Versions of this Tutorial
Before you proceed with the Eclipse Oxygen IDE installation confirm that you have Java already installed on your system. Example:
$ java -version java version "9.0.4" Java(TM) SE Runtime Environment (build 9.0.4+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
Follow our guide on how to install java on Ubuntu 18.04 in case you do not have Java installed yet. This guide will use Oracle
java 9.0.4 for the Eclipse Oxygen installation on Ubuntu 18.04.
Alternatively, instead of proprietary oracle java you can install OpenJDK java on Ubuntu 18.04.
Download Eclipse Oxygen Installer
At this point you should have Java already installed on your Ubuntu system. Use the below
wget command to download the latest Eclipse Oxygen IDE or use your browser to a select different mirror:
$ wget http://eclipse.bluemix.net/packages/oxygen.2/data/eclipse-inst-linux64.tar.gz
Once the Eclipse Oxygen package is download use
tar to extract it:
$ tar xzf eclipse-inst-linux64.tar.gz
Start Eclipse Oxygen Installer
At this stage we are ready to start Eclipse Oxygen Installer. The installer executable is located within the newly extracted directory
eclipse-installer. Start the installer by executing the bellow command:
Please note that if you need to install another IDE flavor simply run the Eclipse Oxygen installer again and select a different IDE to install.
Note, each installed Eclipse IDE has its own separate directory and
eclipse executable binary. To start for example Eclipse IDE for Java Developers you would execute the command:
Whereas to start Eclipse IDE for C/C++ Developers you might use:
and so on. Alternatively follow our guide on how to create desktop shortcut launcher on Ubuntu 18.04.
The sample Gnome desktop shortcut for
Eclipse IDE for Java Developers can be found below. Make sure to enter a valid full path to your Eclipse IDE installation folder on Line 6 and Line 9:
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=/home/linuxconfig/eclipse/java-latest-released/eclipse/eclipse Name=Eclipse IDE for Java Developers Comment=Eclipse IDE for Java Developers Icon=/home/linuxconfig/eclipse/java-latest-released/eclipse/icon.xpm