ubuntu 下部署jar
1.安装jdk 8
https://vitux.com/how-to-install-java-on-ubuntu-20-04/
sudo apt install openjdk-8-jdk openjdk-8-jre
java -version
cat >> /etc/environment <<EOL
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
JRE_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre
EOL
2.运行jar
https://blog.csdn.net/bencheng06/article/details/102491420