title: Trying to get Tomcat running with XAMPP
body: <p>I have installed XAMPP v3.2.2 and have Apache and MySQL running correctly.  Tomcat will not start though and comes up with the error:</p>
  
  <pre><code>Tomcat Started/Stopped with errors, return code: 1
  14:37:47  [Tomcat]  Make sure you have Java JDK or JRE installed and the required ports are free
  14:37:47  [Tomcat]  Check the "/xampp/tomcat/logs" folder for more information
  </code></pre>
  
  <p>When I open the log, called <code>catalina.pid</code> it simply has the PID 8556 (although this value differs each time I try to run Tomcat).</p>
  
  <p>I have changed the default ports for Tomcat.  I have installed both Java JDK (<code>C:\Program Files (x86)\Java\jdk1.8.0_65</code>) and Java JRE (<code>C:\Program Files (x86)\Java\jre6</code>) and set the Environment Variables in Windows System Properties to <code>JAVA_HOME</code> and <code>JRE_HOME</code> to the previously mentioned file paths.  I'm not sure what else I can try to get past this error?</p>
  
  <p>** Extra info about JRE **</p>
  
  <p>For some reason I have two JRE instances, <code>C:\Program Files (x86)\Java\jre6</code> and <code>C:\Program Files (x86)\Java\jre1.8.0_65</code>.  Although I have tried setting both in the Environment Variable settings and neither works, I wondered if this may be the cause of the problem?</p>