undefined reference to `JNI_CreateJavaVM'
843829Dec 17 2002 — edited Oct 5 2008Hello
I am using simple JNI in a C++ method
I am using Linux 6.2 and JDK1.4.1
all the for the JNI are included in the path
but while making the excutable i get this error message which has something to do with jni.h
can someone help plz
asif
In function `JNIEnv_::CallStaticVoidMethod(_jclass *, _jmethodID *,...)':
/afs/cern.ch/user/m/muhammad/CMSToolBox_1_5_1_pre2/src/jni.h:1485:
undefined reference to `JNI_CreateJavaVM'
collect2: ld returned 1 exit status
gmake[1]: *** [CallJava_o.exe] Error 1