java/lang/UnsatisfiedLinkError: file not found

Min Xu xu at cs.wisc.edu
Wed Jun 27 08:18:49 PDT 2001


I think you still need libnative to run kaffe. Even
kaffe is compiled as statically linked, it somehow
still trys to link the libnative. I had the same
problem before.

Vincent Lenders wrote:
> 
> Hi
> 
> I cross compiled the latest CVS of Kaffe for my own architecture on
> Linux.
> 
> I receive the following error:
> 
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
> java/lang/UnsatisfiedLinkError: file not found
>         at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
>         at java.lang.Throwable.<init>(Throwable.java:38)
>         at java.lang.Error.<init>(Error.java:21)
>         at java.lang.LinkageError.<init>(LinkageError.java:21)
>         at
> java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:21)
>         at java.lang.Runtime.loadLibrary(Runtime.java:141)
>         at java.lang.System.loadLibrary(System.java:145)
>         at java.io.File.<clinit>(File.java:35)
>         at
> kaffe.lang.SystemClassLoader.findResources(SystemClassLoader.java:53)
>         at java.lang.ClassLoader.getResources(ClassLoader.java:188)
>         at java.lang.ClassLoader.getResource(ClassLoader.java:165)
>         at
> java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:215)
>         at
> java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:227)
>         at java.lang.System.<clinit>(System.java:49)
>         at java.lang.ThreadGroup.add(ThreadGroup.java:86)
> 
> I compiled Kaffe with static libraries and there installed only the
> following files of Kaffe's build files:
> 
> bin/java
> bin/kaffe
> libexec/Kaffe
> share/kaffe/Klasses.jar
> 
> Do I need more files to run  Kaffe since it complains : file not found
> 
> Vincent Lenders
> lenders at tik.ee.thz.ch

-- 
Best regards,

-Min


More information about the kaffe mailing list