Chris Abbey wrote:

> At 13:18 12/23/99 -0500, Edward W. Rouse wrote:
> >Don't worry too much about the font errors.
>
> agreed... unless you're trying to use dingbats.
>
> >The real error is the last part:
>
> agreed, but you've got the cause a little off...
>
> >> java.lang.ClassFormatError: Animator (Arguments can't fit into locals)
> >>         at java.lang.ClassLoader.defineClass0(Native Method)
> >>         at java.lang.ClassLoader.defineClass(Compiled Code)
> >>         at java.security.SecureClassLoader.defineClass(Compiled Code)
> >>         at sun.applet.AppletClassLoader.findClass(Compiled Code)
> >>         at java.lang.ClassLoader.loadClass(Compiled Code)
> >>         at sun.applet.AppletClassLoader.loadClass(Compiled Code)
> >>         at java.lang.ClassLoader.loadClass(Compiled Code)
> >>         at sun.applet.AppletClassLoader.loadCode(Compiled Code)
> >>         at sun.applet.AppletPanel.createApplet(Compiled Code)
> >>         at sun.applet.AppletPanel.runLoader(Compiled Code)
> >>         at sun.applet.AppletPanel.run(Compiled Code)
> >>         at java.lang.Thread.run(Compiled Code)
>
> this error means that when the class was compiled a method had n arguments
> and was latter changed to m arguments... but the class wasn't recompiled.
> Rerun with -verbose to find out what class. My guess is that you've got a
> 1.1 classes.zip loading before 1.2 rt.jar with a 1.2 vm... or something
> like that... -verbose will show what's being loaded from where.
>

Perhaps, but some additional information:  When I point netscape-navigator at
the same HTML file it runs the applet without error or complaint (arguments
and all).  I would expect this kind of behaviour from a Sun demo app.  (It's
been thoroughly tested, I suppose) I think it points to a problem with
Blackdown's appletviewer implementation.I am running Redhat 5.1 (Manhattan),
and glibc 2.0  and JDK 1.2.pre v2.
Also, the applet's classes had to be recompiled to run properly.  (By that I
mean not crash).
>From the standpoint of portability considerations this leaves a big break in
the compile once run anywhere ideal.  Users can not be required to recompile
an app before it loads in their browser.

>   cabbey at home dot net <*> http://members.home.net/cabbey
>            I want a binary interface to the brain!
> Today's opto-mechanical digital interfaces are just too slow!
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to