First of all I am working on the helloworld example with jni. I am using BloodShed dev c++ for my compiler. I have downloaded jni.h, jnipost.h from searching at google.com and putting them in the #include
directory. Everything seems to go fine execpt for the error which is the name of this thread. I made the header stub from my helloworld java file and also put it in the include directory which is in my compiler root directory. I am also aware that some of the code generated in the header file has to be the same in the .c file. I hope i'm explaining this right.
Anyway heres the link to the tutorial:http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html
After I make the native code implementation i'll have to make the shared library and i'm also not sure how to. I know I have the option to make one in my compiler but I don't know what to do from there.
Any help would be great,
Thanks in advance,
0 · ·