Load Native Library from Class path
I have a project setup that follows the Standard Directory Layout (not using Maven though): src/main | java | resources | library.dll Native DLLs are located in the resources folder and sources in the java folder. The resources folder is a member of the Java class path. I would now like to load a DLL without having to set the JRE -Djava.library.path option or setting the PATH variable so the resulting jar file can be started with a simple double click. Is it possible to add the resource folder to the library search path without having to do additional configuration when running the jar file? E