Connecting dll libraries to jar
-
When the dll libraries are connected to the NetBeans project by means of the Djava.library.path, everything is fine, but after the compilation and launch of the jar file, a mistake is made in the absence of dll files. Is there any way to download these dlls into the jar file or sign a way to them?
-
Try putting these libraries in the same directory where the "jar" is, like the "lib\dll." When "jar`a starts, add a parameter:
java -Djava.library.path=.\lib\ -jar *.jar
correct.