<> one , summary

If necessary Linux Next JavaEE Development of , We need to install the following software :

* ideaIU-2020.2.3.tar.gz
* apache-tomcat-8.5.59.tar.gz
* CentOS-7-x86_64-DVD-1810.iso
* jdk-8u261-linux-x64.tar.gz
* mysql-8.0.26-1.el7.x86_64.rpm-bundle.tar
<> two , install JDK step

* mkdir /opt/jdk
* adopt xftp6 Upload to /opt/jdk lower
* cd /opt/jdk
* decompression tar -zxvf jdk-8u261-linux-x64.tar.gz
* mkdir /usr/local/java
* mv /opt/jdk/
* Configuration file for configuring environment variables :vim /etc/profile

* export JAVA_HOME=/usr/local/java/jdk1.8.0_261
export PATH= J A V A H O M E / b i n : JAVA_HOME/bin: JAVAH​OME/bin:PATH

9.source /etc/profile Make the new environment variable effective

Test whether the installation is successful
Write a simple hello.java output “hello,world”
vim hello.java

Daily Recommendation