If there is a JDK environment on the Linux server, this step can be ignored, and the installation of the second section of the link. If there is no JDK, first to the Oracle official website to download JDK, Download.
2.JAVA_HOME Configure
JDK extract can according to their actual situation to want to extract the path, here we extract to unzip /usr/java/jdk1.8 , as shown below: