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!

Linking error - JNI_CreateJavaVM

843829Nov 30 2006 — edited Dec 4 2006
I get the following error when using the JNI_CreateJavaVM function to embed a JVM in my c++ code...

Linking...
sample2.obj : error LNK2001: unresolved external symbol __imp__JNI_CreateJavaVM@12
Debug/sample2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.


Help requested ASAP.
Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2007
Added on Nov 30 2006
4 comments
685 views