Search code examples
javaunsatisfiedlinkerror

How to fix java.lang.UnsatisfiedLinkError in java


I am creating one java application that consists of usb library that was downloaded from here but it was showing an error called Exception in thread "main" java.lang.UnsatisfiedLinkError: no lucasAndresForni_Win32 in java.library.path please helpme to find out.


Solution

  • You need to make sure that library is in your PATH and is the same bit-ness as the JVM.

    As it appears that it is looking for a 32-bit DLL, this will only work on a 32-bit JVM on Windows.