title: JRE_HOME variable missing with Tomcat (win7)
body: <p>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'm trying to run the system it doesn't work.
   I can access the default index-page in the </p>
  
  <pre><code>  http://[my-IP-address]:8080 
  </code></pre>
  
  <p>but cannot access the jsp folder's pages, not even .html files. It gives me </p>
  
  <pre><code>  503 service temporarily unavailable. 
  </code></pre>
  
  <p>Not even the localhost seems to work.I can't recall if the Tomcat server needs to be started or if the mod_jk.so automatically handles that. When I try to start the tomcat with startup.bat it gives me the message </p>
  
  <pre><code> JRE_HOME environment variable is not defined correctly
  </code></pre>
  
  <p>I've set the environment variables from system properties and I could compile/run .java files without problems.</p>
  
  <pre><code> JAVA_HOME C:\Program Files (x86)\Java\jdk1.6.0_16
  
   JRE_HOME C:\Program Files (x86)\Java\jre6
  </code></pre>
  
  <p>So what's going on here? I installed Visual Studio, but otherwise I cannot think of any reason why the tomcat doesn't work all of the sudden. This is very frustrating, so any help would be much appreciated.</p>