How to Install Eclipse IDE on Debian 9

Install Eclipse IDE on Debian 9

Eclipse is the most widely used Java IDE (Integrated Development Environment). The Eclipse IDE is written in C and Java. It supports multiple languages like C, C++, Java, PHP, Ruby, etc. for development. Eclipse comes with a variety of features and you can also extend it using plugins. In this tutorial, you are going to learn How to Install Eclipse IDE on Debian 9.


Before you start to install Eclipse IDE on Debian 9. You must have the non-root user account on your system with sudo privileges.

Install Eclipse on Debian

Follow below instructions to install Eclipse on Debian 9:

Eclipse requires Java to be installed on your system. Run java --version command to check if Java is installed on your system. If your system doesn’t have Java installed on then install it by using the following command:

sudo apt install default-jre

Now download Eclipse IDE by using wget or curl command to download run below command:


After completing the above downloading process, extract the eclipse-java-2019-03-R-linux-gtk-x86_64.tar.gz using following command inside usr directory:

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

Now create a symbolic link to /usr/bin directory using following command:

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

This is the time to create a launcher icon for Eclipse IDE so you can launch it from anywhere to do so create eclipse.desktop file inside /usr/share/applications/ directory using following command:

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

Now paste following code inside above file:

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

After completing the above instructions you have successfully installed Eclipse on your Debian system.

Start Eclipse

You can also visit Appplications -> Eclipse to start Eclipse IDE:

Otherwise you can run the following command to start Eclipse on Debian:


Once you start then it will ask you to select workspace directory, if you are running Eclipse IDE for first time. You can click on Launch or you can change the directory. Then you will see following screen:

How to install eclipse - Eclipse Home
How to install eclipse – Eclipse Home


You have successfully learned how to Install Eclipse IDE on Debian 9. If you have any queries regarding this then please don’t forget to comment below.