본문 바로가기
Information Technology/Linux

How to install java in Centos7 step by step

by Patrick Moon 2019. 8. 13.

1. You have to install OpenJDK 11 JDK at the first time

(As you know, OpenJDK 11 is the current LTS version of Java and the recommended version to install)

Installing JAVA in CentOS7
Please check "yes" at that time as you can see above screenshot

sudo yum install java-11-openjdk-devel

2. Verify the installation, you can check to run the following command which will print the Java version

It's "11.0.4 ver" 

java -version

At that point, you should have successfully installed Java on your CentOS system.

 

 

 

댓글