Launching "new" version gets a "Unable to launch the application" error from Java; the 'details' box provides:
<jnlp codebase="http://colossus.sf.net/" href="public-build/Colossus.jnlp"> <application-desc main-class="net.sf.colossus.appmain.Start"/> <information>exception:
java.lang.UnsupportedClassVersionError: net/sf/colossus/appmain/Start : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Looks like you are using Java version 1.5. Colossus requires now 1.7:
As workaround I have put a build that still works with Java 1.5 to the page on my server.
http://www.play-colossus.net/colossus/play/
As page says, within mid-term future (=next 1-2 years ;-) I will drop 1.5 support.
However, your report make me notice that the jnlp files still say it needs only 1.5:
I fixed that now in "main page". With that fixed, it would probably give a more informative error message.
I can't (easily) test whether it works with Java 1.5 now ("my page") and whether it gives a besser message (official page).
Could you try out those two and report back here the result?
Thanks,
Clemens
OK, summary:
Could you try out both the webstart file on official page (should now give a more meaningful error message) and the one on my own page ( http://www.play-colossus.net/colossus/play/ ) (should work with java 1.5) and report back to me what happens?
Thx, Clemens
I'll be able to test this later today. Thank you for the quick response!
On Wed, Aug 12, 2015 at 2:13 AM, Clemens Katzer cleka@users.sf.net wrote:
Related
Bugs:
#905The 1.5 version launched successfully; I'll be updating my JRE version.
The jnlp from the colossus.sf.net page now has a much better error
description (but it doesn't seem to support cut & paste for me to show it)
"The application has requested a version of the JRE (version 1.7+) that is
not locally installed ...
On Wed, Aug 12, 2015 at 9:37 AM, Ben Bishop benbishop@users.sf.net wrote:
Related
Bugs:
#905Closing this.