title: Java Runtime only recognizes class file versions up to 52.0 even when java 11 is installed
body: <p>I can't run my java servelet on my tomcat 9.0.12 server because it can't handle the class version.
  I get following error:</p>
  
  <pre><code>Error: MyClass been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class
  </code></pre>
  
  <p>I compiled my code with java 11:</p>
  
  <pre><code>
  &lt;plugin&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.8.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;11&lt;/source&gt;
                      &lt;target&gt;11&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
  </code></pre>
  
  <p>when I type in : java -version in my terminal I get: </p>
  
  <pre><code>java version "11.0.2" 2019-01-15 LTS
  Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
  Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
  </code></pre>
  
  <p>and for javac -version </p>
  
  <pre><code>javac 11.0.2
  
  </code></pre>
  
  <p>Why can't the Runtime handle v55.0? java 11 == v55.0?!</p>