This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't run applet: invalid bytecode



On Wed, 7 Feb 2007, Kjetil Svalastog Matheussen wrote:

> 
> 
> On Wed, 7 Feb 2007, Kjetil Svalastog Matheussen wrote:
> 
> > 
> > I can't run the scribble applet again, and I'm running cvs.
> > 
> > In opera with jvm 5 I get the error "invalid bytecode",
> > In firefox with jvm 4 I get the error "Unsupported major.minor version 50.0"
> >  (Do I really need hava 5? (50?))
> > 
> > Appletviewer refuses totally. I'm doing the exact same things as last 
> 
> No, appletviewer works. Wrong options.
> 

And here is my applet, sorry for all the posts:

http://www.notam02.no/~kjetism/scribble3/


Error output:
ava.lang.UnsupportedClassVersionError: Bad version number in .class file
	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$100(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.opera.AppletClassLoader.findClass(AppletClassLoader.java:352)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at 
com.opera.AppletClassLoader.loadClass(AppletClassLoader.java:433)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at com.opera.AppletPanel.runLoaderThread(AppletPanel.java:367)
	at com.opera.AppletPanel.run(AppletPanel.java:339)
	at java.lang.Thread.run(Unknown Source)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]