EASY, URGENT, 500 Points : using JNI to invoke JVM in VS.net

   On building I get the following Runtime Error:
   "unresolved external symbol _imp_JNI_CreateJavaVM....."

   Ive included JSDK/include, JSDK/iinclude/Win32 in the c++/includes option
   JSDK/lin, JSDK/jre/lib, JSDK/jre/lib/i386 in the linker->Additional Library Directories often

  I even tried adding "-link C:/JSDK/lib/jvm.lib" to linker->command line


If I add: -link "C:/JSDK/lib/jvm.lib" to the c/c++->coomandline option
I get a Warning "unrecognised option '/link'; ignored
Even though the DLL builds without errors.
The final dll created doesn't start so I assume something went wrong!

Please Help me - Ive looked everythwre and followed the guidelines, but am stuck!
Who is Participating?
moduloConnect With a Mentor Commented:
PAQed, with points refunded (500)

Community Support Moderator
AruneshGuptaAuthor Commented:
Done - Got the answer from the C+ area =)
no "-link" needed
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.