Header Ads Widget

Cài đặt JAVA trên Centos

Cài đặt OpenJDK 8



Install OpenJDK 8 JRE

To install OpenJDK 8 JRE using yum, run this command:
yum install java-1.8.0-openjdk
At the confirmation prompt, enter y then RETURN to continue with the installation.
Congratulations! You have installed OpenJDK 8 JRE.

Install OpenJDK 8 JDK

To install OpenJDK 8 JDK using yum, run this command:
yum install java-1.8.0-openjdk-devel
At the confirmation prompt, enter y then RETURN to continue with the installation.
Congratulations! You have installed OpenJDK 8 JDK.