JRE_HOME variable missing with Tomcat (win7)

前端 未结 9 1961
一向
一向 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:45

    windows 7. tomcat 8 I was having the same problem. I was getting the ire_environment error. I applied HimalayanCoder's solution. To my surprise, the echo failed to see the java_home or the ire_home. I checked both paths and settings in enviro and both were correct. I rebooted my machine 5 times, and the echo for the java_home worked, but the ire_home still was not showing. tomcat is still not working and I am still getting jre_home error. I kept rebooting machine and after an addition 5 reboots, the jre_home path came through. my tomcat now works.

    thanks HimalayanCoder.

    0 讨论(0)
  • 2021-01-04 11:45

    Path has some other version of java like JDK1.6. Please remove the unwanted version in the path, then start the Tomacat 7.

    After trying all the possible answers I have checked my path and then I have removed the Java1.6 from the path, then started the tomcat. It worked for me.

    0 讨论(0)
  • 2021-01-04 11:50

    I face with the same problem and I solve it by changing tomcat configuration in Intellij from its default to my own jre folder like the image below :

    0 讨论(0)
提交回复
热议问题