Solarus editor can't run on OS X

Started by Zus, July 13, 2014, 11:17:07 AM

Previous topic - Next topic
Hello,

I'm tying to run Solarus quest editor v1.2 on OS X v10.9.4 

with command below:
$ java solarus-editor.jar


Exception in thread "main" java.lang.NoClassDefFoundError: solarus-editor/jar
Caused by: java.lang.ClassNotFoundException: solarus-editor.jar
   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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


To run a jar file, the command is:
java -jar solarus-editor.jar

Thanks for replay!

I have tried

$ java -jar solarus-editor.jar

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/solarus/editor/Editor : 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)

You need Java 7, but you are using Java 6. So you have to install Java 7.