General Discussion

Nested
Applet error: bad major version
User: posman
Date: 9/14/2013 1:14 pm
Views: 6885
Rating: 5

Hi

I'm trying to collarate and donate my voice to this project but I have a problem with the applet.

This is the entire stacktrace I get when loading your page

java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=speechrecorder/RecorderApplet, offset=6
    at java.lang.ClassLoader.defineClass(ClassLoader.java:287)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:540)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Plugin2ClassLoader.java:1040)
    at sun.plugin2.applet.Plugin2ClassLoader.access$100(Plugin2ClassLoader.java:82)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:1017)
    at java.security.AccessController.doPrivileged(AccessController.java:362)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:981)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:156)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:277)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:207)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:638)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:683)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3088)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1529)
    at java.lang.Thread.run(Thread.java:738)
Exception: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=speechrecorder/RecorderApplet, offset=6

The version of Java I have installed is 1.7.0

--- (Edited on 9/14/2013 1:14 pm [GMT-0500] by posman) ---

Re: Applet error: bad major version
User: kmaclean
Date: 9/14/2013 2:13 pm
Views: 479
Rating: 8

>JVMCFRE003 bad major version;

Should be fixed now.  Please retry submitting - if there is any problems, please let me know.

I recompiled the Java applet with Java 1.5 target (I had mistakenly compiled ithe latest release of the applet with Java 1.7).

thanks for letting us know!

ken

--- (Edited on 9/14/2013 3:13 pm [GMT-0400] by kmaclean) ---

Re: Applet error: bad major version
User: posman
Date: 9/16/2013 5:17 pm
Views: 2686
Rating: 5

It's working now. Thanks

--- (Edited on 9/16/2013 5:17 pm [GMT-0500] by posman) ---

PreviousNext