Topic: JNI

  Print this page

1.JNI Copy to clipboard
Posted by: lonely
Posted on: 2004-09-10 09:26

我在做 Java 对 VC.net 的JNI调用时:

在本地的计算机上用VC.net 生成的 Com.dll文件,在本地上是可以正常的被加载调用!

但是,一把正个程序和Com.dll移植到别的系统上(98/200/XP)运行就不行了!出现了下列错误:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\New\COM.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at common.<clinit>(common.java:32)
at Splash.<init>(Splash.javaShy
at Client.main(Client.javaShy

好像指的是找不到 COM.dll 但是路经没有错呀!

有哪位碰到过这种问题,能帮我解决一下吗!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923