Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these enviro
程序员文章站
2022-07-14 10:36:57
...
今天配置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
此问题是因为既没有定义JAVA_HOME也没有定义JRE_HOME环境变量导致的解决方法也很简单
解决方法:
1、配置一个JAVA_HOME的环境变量就可以了,变量为自己jdk安装地址。
2、重新打开cmd运行startup.bat,如果弹出tomcat窗口为成功。
推荐阅读
-
tomcat启动报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
-
Tomcat9+JDK 13报错Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run thi
-
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these enviro
-
关于Tomcat打开 **闪退** 及出现 **Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
-
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined 完美解决(tomcat error)
-
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
-
(转)Neither the JAVA_HOME nor the JRE_HOME environment variable is defined解决方案
-
jira error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defin
-
jira error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defin
-
tomcat启动报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined