How to Install Eclipse IDE on Manjaro 18

How to Install Eclipse IDE on Manjaro 18

Table of Contents

Install Eclipse IDE on Manjaro 18

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 Manjaro 18.

Prerequisites

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

Install Eclipse on Manjaro

Follow below instructions to install Eclipse on Manjaro 18:

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 link:

sudo dnf install java-11-openjdk.x86_64Copy

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.gzCopy

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/Copy

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

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

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.desktopCopy

Now paste following code inside 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=0Copy

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

Start Eclipse

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

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

eclipse

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:

Conclusion

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

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注