解压
vi /etc/profile
JAVA_HOME=/home/elasticsearch/jdk-10.0.2 CLASSPATH=$JAVA_HOME/lib/ PATH=$PATH:$JAVA_HOME/bin export PATH JAVA_HOME CLASSPATH