How to run JNI in VisualAge 3.5
hi,
I can run my JNI in command (.java .h .dll .class), but i am failed when i put them in VisualAge 3.5 (professional).
problems:
1. I am not sure where to put the .dll and .h files, i put them in the resouce.
2. i can NOT get the result in the VisualAge, and no error output.
it is very important for me. please help me!!!
thank you very much
[396 byte] By [
anneff] at [2007-9-26 8:24:15]

Visual Age needs to find the .dll when you do the loadLibrary(.),
so either put it into a path of the PATH variable, or load it with
ist complete path. As long as you get "UnsatisfiedLinkError's", then
the .dll cannot be found or a .dll that is needed by it.
Other than that, all should be working fine.
Sylvia
Sylvia.
i tried your solution, but it is failed too. i set the path of .h file and .dll file already in system path and project path. i put them in the resource. but i can NOT get anything for output.
i never see the error message like "UnsatisfiedLinkError's".
i worry about the env,
thank you very much.
anne