I'm taking my first test dive into the world of JNI for a project,
and I'm running into an issue. Given it's the first time that I've
done something of this nature, I'm not totally convinced that I'm not
doing something incredibly stupid. However, my issue is this.
In my C portion of my library, I'm trying to use FindClass, as well
as other functions.
<jni.h> is included properly.
The compile steps look something like this:
cc -Wall -c -I/System/Library/Frameworks/JavaVM.framework/Headers foo.c
cc -Wall -dynamiclib -o libfoo.jnilib foo.o -framework JavaVM
It looks as though FindClass() and the other functions that I'm
trying to employ are not declared in <jni.h> I think that's the
first step. What should I be including here? Once that's done, I'll
tackle the Undefined Symbols.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden