title: Tomcat 8 catalina is not starting
body: <p>I'm working in redhat 7</p>
  
  <p>I have set the JAVA variable in /root/.bashrc :</p>
  
  <pre><code>export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_111/
  export PATH=$JAVA_HOME/bin:$PATH
  export JRE_HOME=/usr/lib/jvm/jdk1.8.0_111/jre
  
  export CATALINA_BASE=/www/tomcat/iot
  export CATALINA_HOME=/www/tomcat/iot
  export CATALINA_TMPDIR=/www/tomcat/iot/temp
  </code></pre>
  
  <p>When i execute this </p>
  
  <blockquote>
    <p>./catalina.sh run</p>
  </blockquote>
  
  <pre><code>Using CATALINA_BASE:   /www/tomcat/iot
  Using CATALINA_HOME:   /www/tomcat/iot
  Using CATALINA_TMPDIR: /www/tomcat/iot/temp
  Using JRE_HOME:        /usr/java/jdk1.8.0_111/jre
  Using CLASSPATH:       /www/tomcat/iot/bin/bootstrap.jar:/www/tomcat/iot/bin/tomcat-juli.jar
  ./catalina.sh: line 366: /usr/java/jdk1.8.0_111/jre/bin/java: No such file or directory
  </code></pre>
  
  <p>The JRE_HOME don't point in the same path </p>