In this article, we will have explained the necessary steps to installing and configure Eclipse IDE on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Eclipse is an integrated development environment (IDE) used in computer programming. Eclipse really is the best IDE for Java application development. Most of the Java programmers preferred to use Eclipse for the Development environment. It is also used for developing applications in various programming languages such as COBOL, Ada, C, C++, Perl, PHP, Python, R, Ruby, Clojure, Scala, Groovy, and Scheme with the help of plug-ins.
Install Eclipse IDE on CentOS 8
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
sudo dnf install epel-release sudo dnf update
Step 2. Install Java on CentOS.
To install the OpenJDK 11 on CentOS 8, run the following command:
sudo yum install java-11-openjdk-devel
Confirm the installation and check the version by typing the following command:
$ java -version openjdk version "11.0.4" 2019-09-16 LTS OpenJDK Runtime Environment 18.9 (build 11.0.4+16-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+16-LTS, mixed mode, sharing)
If you want to change the default version of version use the alternatives command:
sudo alternatives --config java
Step 3. Install Eclipse IDE on CentOS 8 system.
Now download Eclipse installer script from the official page:
wget http://ftp.yz.yamagata-u.ac.jp/pub/eclipse/oomph/epp/2020-12/M3/eclipse-inst-linux64.tar.gz tar xvf eclipse-inst-linux64.tar.gz
Then, change to the project folder and run the installer script:
cd eclipse-installer/ ./eclipse-inst
Step 4. Starting Eclipse on CentOS system.
Now that Eclipse is installed on your CentOS system you can start it by clicking on the Eclipse icon (Desktop Applications menu) or type the following command in the terminal:
That’s all you need to do to install Eclipse on CentOS 8. I hope you find this quick tip helpful. For further reading on Eclipse IDE, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.