解决nohup: failed to run command java: No such file or directory
[code=plain]查看 /etc/profile#!/bin/bashexport JAVA_HOME PATH CLASSPATHJAVA_HOME=/usr/local/javaPATH=${JAVA_HOME}/bin:$PATHCLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib添加以上在 /etc/profile中的JAVA环境配置到shell脚本最上面,解决问题...
原创
2020-06-01 19:56:35 ·
3226 阅读 ·
0 评论