Usage of LPSolve in operator - DLL not part of classpath



In one of my nodes I'm referring to the java LPSolve library which contains some DLL files. When executing the operator I get the following exception: java.lang.UnsatisfiedLinkError: no lpsolve55 in java.library.path.


Can anyone provide any pointers how I can include the dll files on the java.library.path? I already made via -Djava.library.path a reference to the folder in which the files can be found. However, this does not seem to work.


Best regards,




If you put the DLL into your plug-in in a folder (adjust the OS "win32" and the architecture "x86" accordingly) then the native library will be found by loadLibrary.