java 설치 openjdk 1.8 설치 yum install java-1.8.0-openjdk yum install java1.8.0-openjdk-devel 환경 변수 등록 경로 확인 [root@ centos]# readlink -f /usr/bin/java /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64/jre/bin/java /etc/profile에 등록 JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64 PATH=$PATH:$JAVA_HOME/bin CLASSPATH=$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar export JA..