java.lang.UnsatisfiedLinkError

Euisung Kang e.kang at ieee.org
Fri Jun 16 02:46:37 PDT 2000



Hi,

I cross-compiled kaffe on to arm-linux. Now, I am verifying whether
kaffe was successfully built or not. It works nicely when I compile
hello.java and execute hello.class. However, it seems that kaffe has
trouble with jar program. How can I fix the following error?

# jar cf t1.jar *.class
java.lang.UnsatisfiedLinkError: Failed to locate native
function:java/util/zip/Deflater.init(Z)V
at java.util.zip.Deflater.<init>(Deflater.java:48)
at java.util.zip.Deflater.<init>(Deflater.java:58)
at
java.util.zip.DeflaterOutputStream.<init>(DeflaterOutputStream.java:24)
at java.util.zip.ZipOutputStream.<init>(ZipOutputStream.java:90)
at java.util.jar.JarOutputStream.<init>(JarOutputStream.java:22)
at kaffe.tools.jar.Jar.createJar(Jar.java:950)
at kaffe.tools.jar.Jar.processJar(Jar.java:399)
at kaffe.tools.jar.Jar.start(Jar.java:60)
at kaffe.tools.jar.Jar.main(Jar.java:39)

#jar xvf test.jar
java.lang.UnsatisfiedLinkError: Failed to locate native
function:java/util/zip/Inflater.init(Z)V
at java.util.zip.Inflater.<init>(Inflater.java:33)
at kaffe.util.zip.SwitchInflater.<init>(SwitchInflater.java:23)
at java.util.zip.ZipInputStream.<init>(ZipInputStream.java:26)
at kaffe.tools.jar.Jar.extractFilesInJar(Jar.java:696)
at kaffe.tools.jar.Jar.processJar(Jar.java:405)
at kaffe.tools.jar.Jar.start(Jar.java:60)
at kaffe.tools.jar.Jar.main(Jar.java:39)

Thanks in advance.

--
Euisung Kang




More information about the kaffe mailing list