Don't worry too much about the font errors. I get these for a lot of the java stuff I
run and the programs still
work fine. There are some extra fonts that can be installed and used (i.e.. not part
of the 'standard' java) and
if you haven't gotten them installed, then runtime complains. However, it is smart
enough to substitute the fonts
you have for the missing ones.
The real error is the last part:
java.lang.ClassFormatError: Animator (Arguments can't fit into locals)
This is what is bombing the program and I am not familiar enough with the Animator
program to give you a
definitive answer. I appears as though the program is receiving arguments (command
line?) that don't match what
the program expects. Look at the .java file and make sure that any arguments that are
required are present and of
the correct type.
Any program that expects external arguments should accept any argument as a String
type and then error check and
reply with a detailed message. Just my 2 cents on good programming style.
Ed.
Linda Lincoln wrote:
> When I ran the simple Animator class from demos:
> appletviewer ~/java/demo/Animator/example1.html
>
> I get a slew of errors which are attached.
>
> When I run applications this error does not occur.
>
> What could be wrong.
>
> ------------------------------------------------------------------------
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> Font specified in font.properties not found [--zapf
>dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> 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)
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]