linux tomcat 启动报错 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least on
2021-02-14 19:17
标签:添加 图片 either ogr tcl 自己 技术 tail 解决 报错信息 原因:找不到jdk或者jre路径。 解决办法:打开tomcat的bin目录下面的setclasspath.sh,添加如下代码,路径修改为自己机器jdk和jre路径即可。 参考:https://blog.csdn.net/jeamking/article/details/7881196 linux 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 program 标签:添加 图片 either ogr tcl 自己 技术 tail 解决 原文地址:https://www.cnblogs.com/L237/p/12722076.htmlNeither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
export JAVA_HOME=/home/soft/jdk1.8.0_171/
export JRE_HOME=/home/soft/jdk1.8.0_171/jre
上一篇:选择排序
下一篇:maven下载jar包失败,解决
文章标题:linux tomcat 启动报错 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least on
文章链接:http://soscw.com/index.php/essay/55307.html