Solved

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

Posted on 2004-04-11
3
362 Views
Last Modified: 2012-05-04
Hey,
   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
   And
   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

AND!!

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!
0
Comment
Question by:AruneshGupta
3 Comments
 

Author Comment

by:AruneshGupta
ID: 10800307
Done - Got the answer from the C+ area =)
no "-link" needed
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11249558
PAQed, with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question