-
12 which javac 13 readlink -f /usr/bin/javac 14 vi /etc/profile #export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64 source /etc/profile echo $JAVA_HOME
#리스트에 맞게 설치 yum list java*jdk-devel yum install java-1.8.0-openjdk-devel.x86_64 rpm -qa java*jdk-devel javac -version