Whats: "error: cannot find file for class"???

Andrew Haley aph@redhat.com
Tue Aug 26 15:33:00 GMT 2003


Clemens Eisserer writes:
 > Sorry for the traffic, it seems some other errors confused GCJ...
 > 
 > One really last question:
 > If the native methode (JNI) doesnt match the java methode, what will be 
 > thrown?
 > 
 > GIJ tells me:
 > Exception in thread "main" java.lang.UnsatisfiedLinkError: libawt: file 
 > not found
 > 
 > But libawt.so (also tried "awt") is in ld-libraray-path....

Run 'strace -f -etrace=file' to see what is happening.

Andrew.



More information about the Java mailing list