I am building a first working version of a JNI application in C++. I do not believe the specific details of the application are important for this question. If they are, I will append them.
My code compiles without error. However, there is a single linker error:
error LNK2019: unresolved external symbol __imp__JNI_CreateJavaVM@12
I understand that JNI_CreateJavaVM
is not included in jvm.lib
/ jvm.dll
. However, I cannot determine what library I do need to link to for this function.
I have JDK installed (but only 64-bit - and this is a 32-bit C++ application, which may be relevant).
Can somebody please assist?