ExceptionInInitializerError on RedHat 5.1
gback at cs.utah.edu
Tue Dec 15 13:06:22 PST 1998
To eliminate non-kaffe related problems, let me ask you whether
your applications runs on Sun's JDK 1.1.6 or later.
Version 1.1.3 of Sun's JDK and probably earlier versions used to simply
ignore ExceptionInInitializerErrors if they occurred before the main
method of the program was reached.
So, if one of your static initializers threw an exception, this fact
was simply ignored.
Also, you shouldn't have to set your CLASSPATH to include Klasses.jar.
The CLASSPATH and LD_LIBRARY_PATH are set by the driver script ---
it's just like Sun's JDK.
Finally, you could try the latest snapshot from transvirtual.com and
see whether your problem persists.
You should also try to run the testsuite (cd to test, type 'make test')
> I'm trying to test kaffe against a java application that my
> company has written and do not get very far running it.
> I've downloaded and installed the 1.0b3 rpm, set my CLASSPATH
> to include /usr/share/kaffe/Klasses.jar and set my LD_LIBRARY_PATH
> to include /usr/lib/kaffe.
> When I try to run my application I get:
> java.lang.ExceptionInInitializerError: À4 &:
> at java/lang/Throwable.<init>(37)
> at java/lang/Error.<init>(21)
> at java/lang/LinkageError.<init>(21)
> at java/lang/ExceptionInInitializerError.<init>(28)
> Have I done something wrong?? Is there a runtime option that
> I can set to get more info?
> Stephen Martin _ _ | /_ \ MORTICE KERN SYSTEMS INC.
> smartin at mks.com ,/ \ / \ | / |( | 185 Columbia Street West
> (519)883-3215 | | | |/ | \ / Waterloo, Ontario
> Fax: (519)884-8861 | | | | \ | _) Canada N2L 5Z5
More information about the kaffe