Install Java di RHEL 8
Step by step :
- 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 - Install Java JRE
### Java JRE 8 ###
# yum -y install java-1.8.0-openjdk### Java JRE 11 ###
# yum -y install java-11-openjdk - Set Java Default Version#alternatives –config java
- Select Java Option
- Verify Java$ java -versionOutput :
Di tulis oleh: Nanda Anubis