Installing Eclipse Mars 2 for Java Developer

Posted on

Operating System                         : Ubuntu Xenial Xerus (16.04)

IDE                                                : Eclipse Mars 2

Java Runtime Environment          : 1.8.0

Installing Eclipse Mars 2 on Ubuntu 16.04 (Ubuntu Xenial Xerus)

One of the most favorite IDE (Integrated Development Environment) for developing systems or applications using Java Programming Language is by using Eclipse. Eclipse itself is an open source software.

Eclipse is an essential tools for Java Developer to developer their systems or applications since it provides several features which is needed for the development process.

Below are the steps which is needed to do in order to install Eclipse Mars 2 :

  1. Java Runtime Environment version 1.7 or above is installed. Below is how we do it in Ubuntu Linux Distribution or on many UNIX or Linux operating system distributions :
username@hostname:~# java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
You have new mail in /var/mail/root
  1. Since the prerequisite as shown in point 1 is already fulfilled, we can proceed to the next step which is downloading the Eclipse file installer. In the time this article is posted, we can access the file to be downloaded in the following link : By accessing the link itself, we will be directed to the Eclipse IDE download pages consisting several links containing all version and type of Eclipse IDE based on the architecture of the PC where Eclipse can be installed and even based on the programming language which is supported to be used with the Eclipse IDE.
  1. We can directly download it from Web browser or just copy the download link and then download it later with any kind of download utility software.
  1. After downloading the installer file, extract it since most of them especially in UNIX or Linux distribution, the Eclipse installer file is provided in compression format, either in zip or tar.gz format. Below is the example of uncompressing the Eclipse Mars 2 installation file :
username@hostname:/home/username# tar -zxvf eclipse-java-mars-2-linux-gtk-x86_64.tar.gz
  1. To be able to run Eclipse IDE just execute the following command inside the already extracted Eclipse IDE file installer :
username@hostname:~$ ./eclipse
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.

The ./  is a command to execute script which is followed after the character itself. We have to make sure that the script itself, in this context ‘eclipse’ is executable.

After executing the above command, the Eclipse Mars 2 Splash Screen will then appears as follows :


  1. After finishing the loading process which is symbolized with the Eclipse Mars 2 splash screen shown above, the Eclipse IDE Window will appears as follow :


And the installation process is finished.

One thought on “Installing Eclipse Mars 2 for Java Developer

Leave a Reply