Is the lucee in maven compiled in Java 7?

Hi,

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)

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).

Sean Corfield – (904) 302-SEAN
An Architect’s View – http://corfield.org/

“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.

what is Java 6 compatible with that Java 7 isn’t? (bugs and security
holes don’t count…)On 2/8/2015 1:59 PM, Derek Lin wrote:

Ok. Thanks guys for the info. I’ll try lucee when I can upgrade my
Java. I still need Java 6 running for compatibility :slight_smile:

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/dbc65ccc-5745-47f8-a4af-114fca7fefff%40googlegroups.com
https://groups.google.com/d/msgid/lucee/dbc65ccc-5745-47f8-a4af-114fca7fefff%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

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).

Sean Corfield – (904) 302-SEAN
An Architect’s View – http://corfield.org/

“Perfection is the enemy of the good.”
– Gustave Flaubert, French realist novelist (1821-1880)


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/D14EB01C-CD32-49CD-AB9B-F79D6DAE435A%40corfield.org
.
For more options, visit https://groups.google.com/d/optout.

Ok. Thanks guys for the info. I’ll try lucee when I can upgrade my Java.
I still need Java 6 running for compatibility :slight_smile:

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. http://www.oracle.com/technetwork/java/javase/eol-135779.html, 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).

Sean Corfield – (904) 302-SEAN
An Architect’s View – http://corfield.org/

“Perfection is the enemy of the good.”
– Gustave Flaubert, French realist novelist (1821-1880)


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/D14EB01C-CD32-49CD-AB9B-F79D6DAE435A%40corfield.org
.
For more options, visit https://groups.google.com/d/optout.