Linking with JNI Invoke Using Cygwin gcc

2003-06-06 Thread Thomas X. Hoban
I have written a DLL and a test program that uses the JNI api to invoke a JVM. When I try to link with a test program, I get an error indicating that a reference to [EMAIL PROTECTED] is undefined. $ export JAVA_HOME=/cygdrive/c/j2sdk1.4.1_02 $ g++ -c –I$JAVA_HOME/include

Re: Linking with JNI Invoke Using Cygwin gcc

2003-06-06 Thread Alan Thompson
Hi Tom - There is a quirk when using the JNI Invocation API on Cygwin (non-invocation JNI works as expected). The solution is documented nicely at the excellent JNI-on-Cygwin webpage: http://www.inonit.com/cygwin/. You can also download some sample JNI code, including both invocation- and