Install JDK installation on linux server
1. Prepare the jdk1.8 installation package
1.1. Upload the local linux version of the jdk1.8 installation package to the server through the connection tool
1.2. Move the jdk installation package to the specified location
1.3. Go to the /usr/local folder
2. Unzip the JDK installation package
3. Configure the JDK variable environment
3.1. Configure the subordinate environment variables in the /etc/profile file
export JAVA_HOME=/usr/local/jdk1.8.0_121
export CLASSPATH=$:CLASSPATH:$JAVA_HOME/lib/
export PATH=$PATH:$JAVA_HOME/bin