3 ms·
Same exception with IcedTea 1.6 in Iceweasel on GNU/Linux. Second edit: It's because I had OpenJDK 7 as the default JRE. It works fine when I switch it to Ope
by LukeShu 10y ago
Same exception with IcedTea 1.6 in Iceweasel on GNU/Linux.
Second edit: It's because I had OpenJDK 7 as the default JRE. It works fine when I switch it to OpenJDK 8.
Tip: stick 4 spaces before the stack trace to not munge newlines.
Edit: If I run it with appletviewer, I get a more helpful exception:
$ appletviewer http://tropic.org.uk/~crispin/quantum/
java.lang.UnsupportedClassVersionError: quantum/GameWindow : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
[snip]
- mschulze 10y agoThis error means that you need at least JRE8 (Java 8) to run the applet. Or OP must compile the applet in a compatible bytecode format for older versions of Java (-target of javac).
- LukeShu 10y agoYup, I figured that out. Note that what we saw in the browser didn't indicate that; I had to use appletviewer to get a helpful error message.