I've been trying to compile an open-source Java application that uses JNI (pda-pilot, for the curious). The *.java files compile fine, but the first time cc tried to compile the bridge library, cc complained that it couldn't find "jni.h".
No problem, I found a file with that name buried under /System (I don't have the exact path in front of me). I also added a directory of headers in /Developer/Java/... However, after editing the Makefile so that the appropriate directories were included, I'm still getting errors. It looks as though the header files for JNI are incomplete, not defining types like "HArrayOfBytes".
I've done a lot of Java development, and some C development, but no JNI development. Has anyone gotten JNI to work under OS X?
Erik