Install Eclipse IDE on Debian 10
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 10.
Prerequisites
Before you start to install Eclipse IDE on Debian 10. 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 10:
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:
wget http://ftp.jaist.ac.jp/pub/eclipse/technology/epp/downloads/release/2019-03/R/eclipse-java-2019-03-R-linux-gtk-x86_64.tar.gz
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 the 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 the following command:
sudo nano /usr/share/applications/eclipse.desktop
Now paste the following code inside the above file:
[Desktop Entry] Encoding=UTF-8 Name=Eclipse IDE Comment=Eclipse IDE Exec=/usr/bin/eclipse Icon=/usr/eclipse/icon.xpm Categories=Application;Development;Java;IDE Version=4.8 Type=Application Terminal=0
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:
eclipse
Once you start then it will ask you to select workspace directory, if you are running Eclipse IDE for the first time. You can click on Launch or you can change the directory. Then you will see the following screen:
Conclusion
You have successfully learned how to Install Eclipse IDE on Debian 10. If you have any queries regarding this then please don’t forget to comment below.
发表回复