java - UnsatisfiedLinkError exporting a dll for deployment -
I am trying to create a runan jar file from my project, but two line codes are causing the problem.
I use JNA inside my project, some flight calls I used to file dll, which I made, but I can not link it properly.
I can not make any problems in Elysses and run the application. I can also make a runner jar, but when I try and run it, I get this error:
KL Mary. The name of the dll file is Here's how I am loading it: The .dll file is currently placed in the root directory of my project, I think it is System.loadLibrary which is causing the most problems, I need to see that In the main root folder, which are running my jar file. Thanks Try going with Java - Djava.library.path : java -Djava.library.path = directory_where_your_library_is main-class Enter the dissatisfied link: no kl in java.library.path
Personal DLL del; System.loadLibrary ("kl"); Dll = (Dll) Native.loadLibrary ("kl", Dll.class);
Comments
Post a Comment