Solved

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

Posted on 2004-04-11
3
356 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now