ObjectiveThe 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
RequirementsPrivileged access to your Ubuntu System as root or via
sudocommand 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 TutorialUbuntu 20.04 (Focal Fossa)
Install JavaBefore 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.4for 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 InstallerAt this point you should have Java already installed on your Ubuntu system. Use the below
wgetcommand 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.gzOnce the Eclipse Oxygen package is download use
tarto extract it:
$ tar xzf eclipse-inst-linux64.tar.gz
Start Eclipse Oxygen InstallerAt 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:
Note, each installed Eclipse IDE has its own separate directory and
eclipseexecutable binary. To start for example Eclipse IDE for Java Developers you would execute the command:
$ ~/eclipse/java-latest-released/eclipse/eclipseWhereas to start Eclipse IDE for C/C++ Developers you might use:
$ ~/eclipse/cpp-latest-released/eclipse/eclipseand 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 Developerscan 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