python paramiko ssh.exec_command()启动tomcat服务器应用进程失败问题解决方法- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this progr

问题说明:

错误信息提示:

手动启动tomcat 服务器正常:

问题定位原因:

解决办法:

执行命令前设置JAVA_HOME环境变量即可解决

 

posted @ 2016-07-27 19:41  垄上行  阅读(1085)  评论(1编辑  收藏  举报