title: Does Tomcat 7 support Java 8?
body: <p>In <a href="http://tomcat.apache.org/whichversion.html" rel="noreferrer">offcial page of Tomcat</a> it says that Tomcat 7 supports Java 8. If I download this and run with Java 8 it works. </p>
  
  <p>But, on Openshift is <em>Tomcat 7 (JBoss EWS 2.0)</em>. In <a href="https://access.redhat.com/articles/258223" rel="noreferrer">this webpage</a> it says that EWS 2.0 <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1281868" rel="noreferrer">doesn't support Java 8</a>. If I deploy my Java 8 application to Openshift (Tomcat 7) it isn't working. </p>
  
  <p>Why? </p>
  
  <hr />
  
  <p>I tried to install Java 8 on Tomcat 7 on Openshift with this: <a href="https://stackoverflow.com/a/23895161/2442133">https://stackoverflow.com/a/23895161/2442133</a>
  But it isnt' working for me. I have error:  </p>
  
  <pre><code>org.springframework.beans.factory.BeanCreationException: Error creating bean
  with name 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping':
  Initialization of bean failed; nested exception is 
  org.springframework.beans.factory.CannotLoadBeanClassException: Error loading 
  class [pl.xxx.controller.HomeController] for bean with name 'homeController'     
  defined in file [/var/lib/openshift/xxx/app-    
  root/runtime/dependencies/jbossews/webapps/web1/WEB-
  INF/classes/xxx/controller/HomeController.class]: problem with class file or
  dependent class; nested exception is java.lang.UnsupportedClassVersionError: 
  xxx/controller/HomeController : Unsupported major.minor version 52.0 (unable to
  load class xxx.controller.HomeController)
  </code></pre>
  
  <p><code>Unsupported major.minor version 52.0</code> says that Java version is wrong (Java 7 intead Java 8).</p>