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, 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.


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