jdk配置动态库
https://zhidao.baidu.com/question/2016053662379307508.html
vi /etc/profile.d/jdk8.sh
export JAVA_HOME=/usr/local/jdk1.8.0_211 export CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/jar/tools.jar:$JAVA_HOME/jre/lib export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/apr/lib:/usr/local/jdk1.8.0_211/jre/lib/amd64:$LD_LIBRARY_PATH/server #新加动态库
. /etc/profile.d/jdk8.sh
[root@deyi136 server]# cat /etc/ld.so.conf #配置添加动态链接库
include ld.so.conf.d/*.conf
/usr/local/jdk1.8.0_211/jre/lib/amd64/server
/sbin/ldconfig -v
ldconfig #加载配置
https://www.cnblogs.com/qiumingcheng/p/8053076.html