I am trying to load a dll in java using the following code System.loadLibrary(\"mydll\");
The project is placed in D:\\development\\project\\ and i have placed t
One problem you have is: System.load("D:\mydll.dll"); should be System.load("D:\\mydll.dll"); or System.load("D:/mydll.dll");
I have had more success with System.load, but loadlibrary is better designed for multiplatform. It figures out the extension for you.