Lucee Express - Unsupported major.minor version 51.0

Hi,

Trying to run Lucee Express (on OS X Yosemite) I get an error saying
‘Unsupported major.minor version 51.0’:

https://lh3.googleusercontent.com/-sJTElMPylQk/VW47ntiEJgI/AAAAAAAAAJs/_nmvFCYf_Hc/s1600/Skjermbilde%2B2015-06-03%2B01.26.06.png
I have installed JRE 8

When I do java -version in the terminal i get:

java version “1.6.0_65”
Java™ SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot™ 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

What can I do?

In short:

This means you’re trying to run Java code that was compiled for a higher (=newer) JVM version than the one you have.

Given that you have Java 8 installed but the command in Terminal is just showing you Java 6, there’s clearly the issue.

Nando Breitner ran into a similar issue a few days ago and posted a solution and write-up on the list — the thread was called “Lucee JVM”, check that out and see if it fixes the issue.

Cheers
Kai> Hi,

Trying to run Lucee Express (on OS X Yosemite) I get an error saying ‘Unsupported major.minor version 51.0’:

I have installed JRE 8

When I do java -version in the terminal i get:

java version “1.6.0_65”
Java™ SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot™ 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

What can I do?


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/4b2e239f-6b31-4cdc-9f82-8966baaae582%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I had the same issue on my dev machine running OS X 10.10.3.
Long story short, none of the different approaches from the thread
mentioned by Kai worked for me.
But: Installing the latest Java JDK 8U45
(http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
instead of the JRE fixed the problem instantly.

rgds
Lutz

Site note:
Java 6 reached it’s “end of life” in 02/2013, so no security updates
anymore.
Because of that we decided no longer to support Java 6 with Lucee 5. This
also allows us to use Java 7 features in Lucee 5.

MichaOn Wed, Jun 3, 2015 at 1:34 AM, Kai Koenig <@Kai_Koenig> wrote:

In short:

This means you’re trying to run Java code that was compiled for a higher
(=newer) JVM version than the one you have.

Given that you have Java 8 installed but the command in Terminal is just
showing you Java 6, there’s clearly the issue.

Nando Breitner ran into a similar issue a few days ago and posted a
solution and write-up on the list — the thread was called “Lucee JVM”,
check that out and see if it fixes the issue.

Cheers
Kai

Hi,

Trying to run Lucee Express (on OS X Yosemite) I get an error saying
‘Unsupported major.minor version 51.0’:

https://lh3.googleusercontent.com/-sJTElMPylQk/VW47ntiEJgI/AAAAAAAAAJs/_nmvFCYf_Hc/s1600/Skjermbilde%2B2015-06-03%2B01.26.06.png
I have installed JRE 8

When I do java -version in the terminal i get:

java version “1.6.0_65”
Java™ SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot™ 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

What can I do?


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/4b2e239f-6b31-4cdc-9f82-8966baaae582%40googlegroups.com
https://groups.google.com/d/msgid/lucee/4b2e239f-6b31-4cdc-9f82-8966baaae582%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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/9AC59D65-CA6E-47CC-8DFC-CD6F2347EFC6%40gmail.com
https://groups.google.com/d/msgid/lucee/9AC59D65-CA6E-47CC-8DFC-CD6F2347EFC6%40gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Thank you Kai,

I have read through the thread and will try to get it resolved using
Nando’s recipe :slight_smile:

Cheers,
TrondOn Wednesday, June 3, 2015 at 1:34:27 AM UTC+2, Kai Koenig wrote:

In short:

This means you’re trying to run Java code that was compiled for a higher
(=newer) JVM version than the one you have.

Given that you have Java 8 installed but the command in Terminal is just
showing you Java 6, there’s clearly the issue.

Nando Breitner ran into a similar issue a few days ago and posted a
solution and write-up on the list — the thread was called “Lucee JVM”,
check that out and see if it fixes the issue.

Cheers
Kai

Hi,

Trying to run Lucee Express (on OS X Yosemite) I get an error saying
‘Unsupported major.minor version 51.0’:

https://lh3.googleusercontent.com/-sJTElMPylQk/VW47ntiEJgI/AAAAAAAAAJs/_nmvFCYf_Hc/s1600/Skjermbilde%2B2015-06-03%2B01.26.06.png
I have installed JRE 8

When I do java -version in the terminal i get:

java version “1.6.0_65”
Java™ SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot™ 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

What can I do?


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/4b2e239f-6b31-4cdc-9f82-8966baaae582%40googlegroups.com
https://groups.google.com/d/msgid/lucee/4b2e239f-6b31-4cdc-9f82-8966baaae582%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.