JDK未配置建议增加系统JDK配置以保证宕机自动处理工具正常运行
1、centos7 安装V10.0服务器部署版在宕机处理会有叹号提示,这个是因为部署版的是内置的jdk,如果想要去掉这个叹号需要使用安装版的jdk
2、在centos上下载安装jdk,且配置环境变量
3、环境变量内容如下:
export JAVA_HOME=/usr/java/jdk1.8.0_281
export JRE_HOME=$JAVA_HOME/jre
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib
可以直接编辑/etc/profile 这个文件添加以上内容
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABh0AAAAvCAYAAAD3lAvqAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAABOQSURBVHhe7d1/jBzlecDxx/g4aARNDenVlzgcnPGFWo6gtDIEFBQhHz1DbWSwsSpBVOqqxucUKhmZEGMZyzjUyFYiWp9xFQuE/yDUR1wfiXzECCojEHZTOIJlp+fYLfgcXy8Eq4IG7Kxx3+edd2benXlnb8+39wP8/Uijm5ndm92deffdmed533cmfHSidFo859dPdHOVlT5xMwAAAAAAAAAA1Ejd/g6Z+957bunMzGq4S9qvuMwtYTSRdAAAAAAAAAAAjCuHf9UlTxw5Ir888Ru3pnokHMYWSQcAAAAAAAAAwLhTd06P7Pnpj2VtfXXB6MvPu1i+NW2xXHJRnVuDsUDSAQAAAAAAAAAwbtWd0y+9fXuDPR800XDp52+WO6dfJr9PzHpcIOkAAAAAAAAAAABq4hz3FwAAAAAAAAAAYFhIOgAAAAAAAAAAgJog6QAAAAAAAAAAAGrijO/pcPi9kpsDAAAAAAAAAAAYRtIBAAAAAAAAAADAx/BKAAAAAAAAAACgJkg6AAAAAAAAAACAmiDpAAAAAAAAAAAAaoKkAwAAAAAAAAAAqAmSDgAAAAAAAAAAoCZIOgAAAAAAAAAAgJog6QAAAAAAAAAA+JTokVLn1+R490r5+OQptw7jCUkHAAAAAAAAAMCnwqkXVtq/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