Hello Everyone ...
I´m having a problem to call a native method inside a DLL by JNI. I can load the DLL by "System.loadLibrary" but when i call the method i get the following error message:
at com.tim.util.cripto.ACC_Cripto.criptografa(Native Method)
I´ve already put the DLL path into the PATH variable but it doesn´t work fine.
I´m trying to do this in a Web Application deployed in the Weblogic 7.0.
This method call works fine in a java console application.
Thanks for help.
The .dll has to be in the system PATH...as well as any dependant libraries. You might want to check the PATH variable on the java console application where it works....and compare that with the PATH variable on the server machine....and verify that the .dll and any dependant libraries are similarly installed on the server machine.