railo express not start on a mac

104 views
Skip to first unread message

Itcoder

unread,
Sep 6, 2014, 12:00:42 PM9/6/14
to ra...@googlegroups.com
this is the message:

Last login: Sat Sep 6 17:52:13 on ttys000
MacBook-Air-di-marc:~ marcplati$ /Applications/railo-express-4.2.1.000-macosx/start ; exit;
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/start/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
logout

Thanks for any help !

Michael Offner

unread,
Sep 6, 2014, 3:02:25 PM9/6/14
to ra...@googlegroups.com
This indicates that you execute java code (...jetty...Main, a class from the jetty web server ) that was compiled for a newer jre than you have installed. Execute 
java -version 
on command prompt to get you version and post it here please.

Micha

--
Did you find this reply useful?  Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/ca79f0a6-9332-40ff-99f1-cdfcee0764fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
/micha

Michael Offner CTO Railo Technologies GmbH

Michael Offner

unread,
Sep 6, 2014, 3:11:23 PM9/6/14
to ra...@googlegroups.com
I did some more digging, version 51.0 is java 7, so jetty is compiled for java 7. This means you have to update your java version to 7. Mac osx should suggested that already a long time ago. At least it did on my macs.

Micha
Reply all
Reply to author
Forward
0 new messages