0

When I compile the .cpp show this error (VISUAL STUDIO 2008) :

error LNK2001: unresolved external symbol "extern "C" long __stdcall JNI_CreateJavaVM(struct JavaVM_ * *,void * *,void *)" (?JNI_CreateJavaVM@@$$J212YGJPAPAUJavaVM_@@PAPAXPAX@Z)

I already put jvm.lib and others includes any help ?

Drew Dormann
  • 59,987
  • 13
  • 123
  • 180
thizk
  • 1
  • Assuming that the symbols are indeed in jvm.lib, double check to make sure that you have jvm.lib. Then try giving the full path to jvm.lib or specify the path in Linker->General->Additional Library Directories. – ap-osd Feb 07 '15 at 11:32
  • This might be a more appropriate answer to the question. http://stackoverflow.com/questions/18714754/unresolved-external-symbol-imp-jni-createjavavm12-referenced/19487110#19487110 – ap-osd Feb 07 '15 at 16:15

0 Answers0