Error using Zephyr

39 views
Skip to first unread message

Sergio Valcarcel

unread,
Aug 24, 2013, 6:05:26 AM8/24/13
to github...@googlegroups.com
Hi,

After some time-out I am back with RLPark and Zephyr.

I am starting from scratch and tyring to setup Zephyr. I guess that I followed all the steps given in the introduction, but when I try to run my Rlpark example project in Zephyr I got the following error message:

Exception in thread "ZephyrRunnable-0" java.lang.UnsupportedClassVersionError: my/example/MyExample01 : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at zephyr.plugin.jarhandler.JarClassLoader.loadClassFromSelf(JarClassLoader.java:165)
    at zephyr.plugin.jarhandler.JarClassLoader.loadClassInternal(JarClassLoader.java:130)
    at zephyr.plugin.jarhandler.JarClassLoader.loadClass(JarClassLoader.java:116)
    at zephyr.plugin.jarhandler.JarFileHandler.retrieveMainMethod(JarFileHandler.java:50)
    at zephyr.plugin.jarhandler.JarFileHandler.handle(JarFileHandler.java:34)
    at zephyr.plugin.filehandling.internal.FileLoader$1.run(FileLoader.java:94)
    at zephyr.plugin.core.privates.ZephyrPluginCore$3.run(ZephyrPluginCore.java:95)
    at java.lang.Thread.run(Thread.java:662)

Also, if I try to run it from Eclipse, I got a similar error:
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:633)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

My example is basically the Off-PAC Puddle World with another name :-) and it seems to work fine (I see the 2D output in the console) without Zephyr.

Please, may you have any idea where to debug?

Thanks!
Sergio

Sergio Valcarcel

unread,
Aug 24, 2013, 6:36:54 AM8/24/13
to github...@googlegroups.com
My apologies!

When I use

  public static void main(String[] args) {
    new OffPACPuddleWorld().run();
  }

it works fine, so it must be a problem with my project.

Thanks!
Sergio

Sergio Valcarcel

unread,
Aug 24, 2013, 7:13:02 AM8/24/13
to github...@googlegroups.com
Mmm... I got a mess with different versions of my project...

Although it compiles and run well in the console, it still does not work in Zephyr.

!SESSION Sat Aug 24 13:11:06 CEST 2013 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2013-08-24 13:11:06.469
!MESSAGE Exception launching the Eclipse Platform:
!STACK

java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:633)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)


On Saturday, August 24, 2013 12:05:26 PM UTC+2, Sergio Valcarcel wrote:

Sergio Valcarcel

unread,
Aug 24, 2013, 9:35:50 AM8/24/13
to github...@googlegroups.com
Hi,

Sorry, for so many mails... it finally works. The problem was the plugin configuration. I just followed the instructions very carefully and works fine.

Thanks!
Sergio


On Saturday, August 24, 2013 12:05:26 PM UTC+2, Sergio Valcarcel wrote:
Reply all
Reply to author
Forward
0 new messages