java.lang.ClassNotFoundException:

Giles Lean kaffe@rufus.w3.org
Tue, 28 Jul 1998 17:57:19 +1000


On Tue, 28 Jul 1998 05:24:18 +0000  Alicia da Conceicao wrote:

> 	*** Running tests
> 	error running
> 	  Should have got:
> 	Hello World!
> 	  But got instead:

Run ldd on the Kaffe binary, and see what libraries it displays.  I
found I needed to add

      -L /usr/X11R6/lib -lX11 -L/usr/pkg/lib -ljpeg

to get Kaffe to work.  (The /usr/pkg/lib assumes a build of the jpeg
library from the NetBSD package; adjust path to taste.)

I haven't dug in to the autoconfiguration to find out why these
dependencies aren't determined automatically.  At least yet. :-)

Regards,

Giles