How To Install Eclipse IDE on Debian 9 & Debian 8


Eclipse is a well-known, versatile, Integrated Development Environment, widely used for developing JAVA application all around the world. Eclipse is written in Java and released under Eclipse Public License, an open-source license.

Eclipse is not only used for developing Java applications, but it can also be used to develop applications in various programming languages including COBOL, Ada, C, C++, Perl, PHP, Python, R, Ruby (including Ruby on Rails framework), Clojure, Scala, Groovy, and Scheme.

Development environments include the Eclipse Java development tools (JDT) for Java, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.

With the support of plugins available in Eclipse Marketplace, we can extend the functionality of Eclipse.

Eclipse supports only 64 bit version of Debian operating system.


To be able to install Eclipse, you need to be logged in as a user with sudo privileges.

Install Java

Eclipse requires Java to be available on your machine. So, go and install the Java JDK. You can either install Oracle Java JDK or OpenJDK.

For this demo, we use OpenJDK 8 here.

sudo apt-get update
sudo apt-get install -y openjdk-8-jdk curl wget

Verify the Java version on your machine.

java -version


openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1~deb9u1-b01)
OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)

Install Eclipse

Download the latest version of Eclipse IDE (2019-03) from the official page using a web browser.


Download the Eclipse package over a terminal using the following command (risk of being changed).


Extract Eclipse package to your desired directory (Ex. /usr/).

sudo tar -zxvf eclipse-java-2019-03-R-linux-gtk-x86_64.tar.gz -C /usr/

Symlink eclipse executable to /usr/bin path so that users on the machine can able to use Eclipse.

sudo ln -s /usr/eclipse/eclipse /usr/bin/eclipse

Create Eclipse Launcher Icon

Sometimes you may want to have Eclipse icon on Gnome or Dash, just like in the Start menu of Windows.

sudo nano /usr/share/applications/eclipse.desktop

Use the following content in the above file.

[Desktop Entry]
Name=Eclipse IDE
Comment=Eclipse IDE

Start Eclipse

Command Line



Go to  Activities >> Search for Eclipse.

Install Eclipse IDE on Debian 9 - Start Eclipse
Install Eclipse IDE on Debian 9 – Start Eclipse

Select a directory as workspace for Eclipse and then click Launch.

Install Eclipse IDE on Debian 9 - Setup Eclipse Workspace
Install Eclipse IDE on Debian 9 – Setup Eclipse Workspace

Eclipse IDE running on Debian 9:

Install Eclipse IDE on Debian 9 - Eclipse IDE Running on Debian 9
Install Eclipse IDE on Debian 9 – Eclipse IDE Running on Debian 9


In this post, you have learned how to install Eclipse IDE on Debian 9 & Debian 8. You can visit Eclipse Market Place to download plugins to extend the functionality of Eclipse IDE.

You might also like