If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

JNI application help??

Hi,
I am trying the simple "Hello world" example for using the JNI. The C and
java program files are
extremely easy and compile independently under their respective compilers.
However, when I include
the #include <jni.h> in the C file and perform the "cc -G -I/usr/jdk/include
-I/usr/jdk/include/geunix source.c libSource.so"

I get a laundry list of warnings and several fatal errors indicating problems
with
the jni.h and jni_md.h files.