[kaffe] Problems with UnsatisfiedLinkError

Dalibor Topic robilad at kaffe.org
Mon Jul 28 01:57:01 PDT 2003

Hi ?,

Cray Kaffe wrote:
> Hi,
> I am porting Kaffe on Cray SV1.

you seem to be part of a large team ;)

> when I run:
> ./kaffe HelloWorld
> I get following errors:
> Call: java/lang/Class.forName(Ljava/lang/String;)Ljava/lang/Class;
> Call: java/lang/Object.getClass()Ljava/lang/Class;.
> Call to native java/lang/Object.getClass()Ljava/lang/Class;.
> Call: java/lang/UnsatisfiedLinkError.<init>(Ljava/lang/String;)V.
> Call: java/lang/LinkageError.<init>(Ljava/lang/String;)V.
> Call: java/lang/Error.<init>(Ljava/lang/String;)V
> problem seems related to searching Shared Library.
> Can anyone suggest a way out ?

for a fresh port, I'd recommend starting with the static build. Shared 
library support usually depends on how well libtool supports it under 
your platform. Take a look at 
for more information on available options. I'd recommend --with-staticvm 
  --with-staticlib for a start.

dalibor topic

More information about the kaffe mailing list