Does anyone know if lucee in maven is compiled in Java 7?:
I am trying to migrate from Railo to Lucee, after changing the dependency,
I get:
Exception in thread “main”
MultiException[java.lang.UnsupportedClassVersionError
: railo/loader/servlet/CFMLServlet : Unsupported major.minor version 51.0,
java.
lang.IllegalStateException: !Selecting]
at org.eclipse.jetty.server.Server.doStart(Server.java:254)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:59)
at com.example.Main.main(Main.java:44)
java.lang.UnsupportedClassVersionError: railo/loader/servlet/CFMLServlet :
Unsup
ported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
“Perfection is the enemy of the good.”
– Gustave Flaubert, French realist novelist (1821-1880)On Feb 8, 2015, at 10:20 AM, Derek Lin <@Derek_Lin> wrote:
Does anyone know if lucee in maven is compiled in Java 7?:
…
: railo/loader/servlet/CFMLServlet : Unsupported major.minor version 51.0, java.
Yup, it’s compiled in 7. The containers we’re using (Jetty 9, Tomcat 8,
WildFly, etc.) are all dependent on 7, so it seemed to make sense. There
are significant performance increases in Java 7-- plus, there are now
bundles with a JRE available, so if you run into trouble try one of those.
-DenOn Sun, Feb 8, 2015 at 1:18 PM, Sean Corfield <@Sean_Corfield> wrote:
On Feb 8, 2015, at 10:20 AM, Derek Lin <@Derek_Lin> wrote:
Does anyone know if lucee in maven is compiled in Java 7?:
…
: railo/loader/servlet/CFMLServlet : Unsupported major.minor version
51.0, java.
That’s a pretty good indication that you’re trying to run Java 7/8
compiled code on Java 6.
You know that Java 6 hasn’t had any public updates for two years? Even
Java 7 has been EOL’d (end of public updates is scheduled for April 2015).
We’ve moved all our middleware to Wildfly/Jetty and Java 8 during the last
60 days. Java 8 performed very well for us in the pre migration workload
simulations, with very little configuration, much to our CM’s delights. No
more documentating verbose 10 line java directives.
Oracle has a targeted date of end of public updates for Java 7, April
2015. Oracle Java SE Support Roadmap, but
this doesn’t mean EOL for java 7 just yet. They are just encouraging a bump
to Java 8.On Sunday, February 8, 2015 at 3:32:55 PM UTC-5, Denny Valliant wrote:
Yup, it’s compiled in 7. The containers we’re using (Jetty 9, Tomcat 8,
WildFly, etc.) are all dependent on 7, so it seemed to make sense. There
are significant performance increases in Java 7-- plus, there are now
bundles with a JRE available, so if you run into trouble try one of those.
-Den
On Sun, Feb 8, 2015 at 1:18 PM, Sean Corfield <se...@corfield.org <javascript:>> wrote:
On Feb 8, 2015, at 10:20 AM, Derek Lin <derek...@gmail.com <javascript:>> wrote:
Does anyone know if lucee in maven is compiled in Java 7?:
…
: railo/loader/servlet/CFMLServlet : Unsupported major.minor version
51.0, java.
That’s a pretty good indication that you’re trying to run Java 7/8
compiled code on Java 6.
You know that Java 6 hasn’t had any public updates for two years? Even
Java 7 has been EOL’d (end of public updates is scheduled for April 2015).