开发者

Added JAVA_HOME in environment var but tomcat says it can't see it

开发者 https://www.devze.com 2023-03-19 06:33 出处:网络
I just want to try a software which uses tomcat. I added JAVA_HOME to env开发者_如何学Python variables for user and for system on windows 7. I checked several times it has been saved.

I just want to try a software which uses tomcat. I added JAVA_HOME to env开发者_如何学Python variables for user and for system on windows 7. I checked several times it has been saved.

When I run startup it says neither JAVA_HOME nor JRE_HOME is defined. At least one of these is needed.

Indeed when I type set under cmd, I can't see JAVA_HOME in the list, why since I added in environment panel ?


Have you started a new command prompt since you defined the environment variable? The windows command prompt inherits its environment at startup.

0

精彩评论

暂无评论...
验证码 换一张
取 消