Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

undefined reference to `JNI_CreateJavaVM'

843829Dec 17 2002 — edited Oct 5 2008
Hello
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

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 2 2008
Added on Dec 17 2002
4 comments
3,006 views