title: tomee plus 1.7.2 - /bin/java: No such file or directory error
body: <p>I'm getting the following error when starting TOMEE plus 1.7.2:</p>
  
  <pre><code>/home/atom/tomee-apps/boss/bin/catalina.sh: line 392: /opt/oracle/jdk/jdk1.8.0_60/jre
  /bin/java: No such file or directory
  </code></pre>
  
  <p>If I do below from console, it works, which means that the java file does exist:</p>
  
  <pre><code>[atom@ustxplmadevapp1 bin]$ /opt/oracle/jdk/jdk1.8.0_60/jre/bin/java -version
  java version "1.8.0_60"
  Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
  Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
  </code></pre>
  
  <p>The startup.sh console output is like below:</p>
  
  <pre><code>[atom@ustxplmadevapp1 bin]$ ./startup.sh
  Using CATALINA_BASE:   /home/atom/tomee-apps/boss
  Using CATALINA_HOME:   /home/atom/tomee-apps/boss
  Using CATALINA_TMPDIR: /home/atom/tomee-apps/boss/temp
  Using JRE_HOME:        /opt/oracle/jdk/jdk1.8.0_60/jre
  Using CLASSPATH:       /home/atom/tomee-apps/boss/bin/bootstrap.jar:/home/atom/tomee-apps/boss/bin/tomcat-juli.jar
  Using CATALINA_PID:    /var/apps/apache-tomee-plus-1.7.2/boss/tomcat.pid
  Existing PID file found during start.
  Removing/clearing stale PID file.
  Tomcat started.
  </code></pre>
  
  <p>The setenv.sh is as of below:</p>
  
  <pre><code>JRE_HOME="/opt/oracle/jdk/jdk1.8.0_60/jre"
  CATALINA_PID="/var/apps/apache-tomee-plus-1.7.2/boss/tomcat.pid"
  </code></pre>
  
  <p>Any idea why I'm getting such error?  I've notice that the error always has a line break between /opt/oracle/jdk/jdk1.8.0_60/jre and /bin/java.  Not sure if that is the cause of what.</p>