Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
503 views
in Technique[技术] by (71.8m points)

smartcard - Exception in thread "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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

  • 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.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...