简体   繁体   English

如何在java中修复java.lang.UnsatisfiedLinkError

[英]How to fix java.lang.UnsatisfiedLinkError in java

我正在创建一个java应用程序,它包含从这里下载的usb库,但它在线程“main”中显示一个名为Exception的错误java.lang.UnsatisfiedLinkError:java.library.path中没有lucasAndresForni_Win32请帮忙查找。

You need to make sure that library is in your PATH and is the same bit-ness as the JVM. 您需要确保该库位于PATH中,并且与JVM具有相同的位。

As it appears that it is looking for a 32-bit DLL, this will only work on a 32-bit JVM on Windows. 由于它似乎正在寻找一个32位DLL,这只适用于Windows上的32位JVM。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM