Hostnic Promo

Install Java di RHEL 8

Step by step :

  1. Install Java JDK
    ### Java JDK 8 ###
    # yum -y install java-1.8.0-openjdk-devel### Java JDK 11 ###
    # yum -y install java-11-openjdk-devel
  2. Install Java JRE
    ### Java JRE 8 ###
    # yum -y install java-1.8.0-openjdk### Java JRE 11 ###
    # yum -y install java-11-openjdk
  3. Set Java Default Version#alternatives –config java
  4. Select Java Option
  5. Verify Java$ java -versionOutput :
Hostnic Promo

Di tulis oleh: