1. OpenJDK 8 설치
sudo apt install openjdk-8-jdk
2. JAVA_HOME 설정 및 적용
$ readlink -f $(which java)
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
$ sudo vi /etc/profile
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin
$ source /etc/profile