JRE_HOME variable missing with Tomcat (win7)

前端 未结 9 2059
一向
一向 2021-01-04 11:05

I installed tomcat and Apache http-servers like two weeks ago. I got it running and I was able to run the JSP-pages from another computers. I had a little pause and now that

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-04 11:29

    I recently ran into this issue, and regardless of how many times I checked.. the variable was set in the windows advanced system properties.

    What I found was that if the JRE_HOME var wasn't set, the system would default to the JRE that was part of the JDK in the JAVA_HOME directory. If you're running into this problem, and cannot resolve it.. try deleting the JRE_HOME variable.

    That resolved the issue for me.

提交回复
热议问题