Prashant
Prashant

Reputation:

java.lang.UnsatisfiedLinkError

HI ALL,

I got an error java.lang.UnsatisfiedLinkError, I am not getting wat the problem is.

public static void main(String[] args) {
  try {
     System.loadLibrary("pfcasyncmt");
  }
  catch(){
  }
}

ERROR- xception in thread "main" java.lang.UnsatisfiedLinkError: no pfcasyncmt in java.library.path

Upvotes: 3

Views: 6573

Answers (2)

Mr Lou
Mr Lou

Reputation: 1817

In windows OS,type command:"path" can get the java.libray.path real path.or System.getProperty("java.library.path"),put the dll in any path of that results.Hope i clear my answer.

Upvotes: 0

Petar Minchev
Petar Minchev

Reputation: 47403

Java cannot find the dll library. You must set the java.library.path property to point to the dll you want to load, when starting your application.`

java -Djava.library.path="the directory which contains your dll" .........

Upvotes: 4

Related Questions