With System.loadLibrary, you only specify the name of the DLL, such as "chilkat". The JVM (java runtime) will search for the DLL in the directories listed in java.library.path system property. This property may be set on the command line with the -D option:

java -Djava.library.path=c:\temp\myNativeDlls myTestApp
<strong>NOTE:</strong> There should be no SPACE character between the "-D" and the "java.library.path".
The lack of a SPACE character is correct.

The System.load method is more straightforward and allows you to specify the filepath of the native library directly.