I have a java project with a user library that can be read from the IDE at runtime without any problem. When I export the project to an executable jar, the program no longer finds the library. Specifically,
try {
System.loadLibrary("DPJava64");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load.\n" + e);
}
The program runs fine from the IDE, but I get the error message when I try to run the executable jar. The executable jar says that it expects an absolute path.