Calling Java from C++ thru JNI
843829Mar 21 2003 — edited Apr 17 2003Hi,
Can anybody help me on this...
I am trying to invoke a simple java method from c++.
I am using the reference example as in tutorial at
http://www-105.ibm.com/developerworks/education.nsf/java-onlinecourse-bytitle/52FFDF7067EAA64986256B87006A5D37?OpenDocument
My C++ program compiles without any errors, but when i try to create an EXE, I get the foll. error::
error LNK2001: unresolved external symbol __imp__JNI_CreateJavaVM@12
I am using JDK1.3, and also making use of jvm.dll, jvm.lib and jni.h files shipped with the JDK installer. Can anybody give me a clue on what is the error referring to?
Thx in advance