如果你做过JNI的项目或者用过第三方的DLL库,你可能遇到过这个棘手的问题“Can't find dependent libraries ”。
解决问题的根本在于把java.library.path设置正确,因为Windows只会在PATH所对应的路径下查找dependent libraries。这个方法可以干掉一大堆的问题(I should point out that this is a Java problem not an Eclipse problem)。
你可能需要Dependency Walker 这样的工具去跟踪the set of DLL dependencies.帮助文档很多,但都只英文的。
祝你好运。