M
Mark
I'm using the IDEA IDE, but would like to understand how to do this from
the command-line at the least.
I'm running the simple HelloNative JNI example from Core Java vol II. It's
a simple C-method that just does a printf and is called from Java.
This is on Windows XP. I've made the dll for the C-routine and compiled the
java, etc....
The runtime exception is:
java.lang.UnsatisfiedLinkError: no jnitest1.dll in java.library.path
Even though I've put the path to the dll in the -classpath argument when I
run this test.
Any suggestions would be most appreciated.
Thanks in advance,
Mark
the command-line at the least.
I'm running the simple HelloNative JNI example from Core Java vol II. It's
a simple C-method that just does a printf and is called from Java.
This is on Windows XP. I've made the dll for the C-routine and compiled the
java, etc....
The runtime exception is:
java.lang.UnsatisfiedLinkError: no jnitest1.dll in java.library.path
Even though I've put the path to the dll in the -classpath argument when I
run this test.
Any suggestions would be most appreciated.
Thanks in advance,
Mark