So, I have a project that uses a series of external C .dll, and it works fine when working in Netbeans, but when I try to start it .jarmyself, I get this error:
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: Unable to load library. / OUNPPM ': the specified module was not found.
I have come across this before for several reasons:
1) Do not find the file. 2) Do not find another .dll, which .dll depends on. 3) Trying to load a 64-bit .dll with a 32-bit JRE (or vice versa)
Is there a way to get the best error message to find out what is happening? JNI gave the best mistakes, but I'm really not in a place where I can change them right now.
source
share