Iam loading 12000.dll using System.load(12000.dll),12000.dll inturn calls methods of dsp.dll. I have some 4 JNI methods implemented on java side which are native code implemented in C++ on 12000.dll.Everything works fine.
A new dll with one more new method introduced on dsp.dll is loaded then on Java side it is throwing UnSatisfied link error.
My question is why should it throws error in System.load when a new method is introduced on Dsp.dll which is internally called by 12000.dll,we are not calling that method also.
UnsatisfiedLinkError usually means that the JVM cannot find the DLL it is looking for or it cannot find the native method you are trying to call in the DLL.
- Check if your DLL's are in the right place, so that the JVM can find them. - Check if you didn't accidentally remove or change a function signature in the DLL. - Check if you compiled the DLL correctly, so that the calling conventions of the functions in the DLL are still as Java expects them.