This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Can't run applet: invalid bytecode
- From: Kjetil Svalastog Matheussen <k dot s dot matheussen at notam02 dot no>
- To: Per Bothner <per at bothner dot com>
- Cc: Kjetil Svalastog Matheussen <k dot s dot matheussen at notam02 dot no>, kawa at sources dot redhat dot com
- Date: Wed, 7 Feb 2007 19:03:36 +0100 (CET)
- Subject: Re: Can't run applet: invalid bytecode
- References: <Pine.LNX.4.64.0702071834400.6816@iannis.localdomain> <45CA1418.6060109@bothner.com>
On Wed, 7 Feb 2007, Per Bothner wrote:
> 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?))
>
> If Kawa was configured with the option --with-java-source=5 (or 6) then
> Kawa will generate code that requires the Java 5 VM and libraries.
>
> Even if you don't, if you compiled the Kawa sources using the Java 5
> version of javac, it will by default generate .class files with a
> version number that requires Java 5 VM.
>
> You can (though I haven't tried this) compile thus:
> make JAVAC='javac -target 1.4'
> or:
> make JAVAC='javac -source 1.4'
>
Okay, but I still get "invalid bytecode" even though I'm running opera
with jvm 5.