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