线程“main”中的异常java.lang.UnsatisfiedLinkError中" [英] Exception in thread "main" java.lang.UnsatisfiedLinkError"

查看:1327
本文介绍了线程“main”中的异常java.lang.UnsatisfiedLinkError中"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行智能卡读取程序时会出现此异常。我的设备没有连接。请帮助我。

This exception is arising when I am running my program for smart card reading. My device is not connected. Please help me.

推荐答案

这意味着它无法加载您需要的共享库。这可能是因为。

This means it could not load a shared library you need. This could be because.


  • 库不在你的库路径中。

  • 库做的没有正确的名称,例如LIBRARY必须是Unix上的libLIBRARY.so

  • 该库不可执行。

  • 该库不适用于操作系统或您的位大小JVM。例如64位JVM不会加载32位库。

  • 您的JRE安装不正确,无法加载其自己的库。

  • 您使用的共享库需要另一个您没有的共享库。

  • DLL不是作为JNI库构建的,也不是从JNA中使用的。

  • The library is not in your library path.
  • The library does not have the right name e.g. LIBRARY must be libLIBRARY.so on Unix
  • The library is not executable by you.
  • The library is not for the OS or bit size of your JVM. e.g. a 64-bit JVM will not load a 32-bit library.
  • Your JRE is not installed correctly and it is failing to load one of its own libraries.
  • You are using a shared library which needs another shared library you don't have.
  • The DLL wasn't build as a JNI library or used from JNA.

这篇关于线程“main”中的异常java.lang.UnsatisfiedLinkError中"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆