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
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.
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.
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 :