Help with a simple JNI example: MSC++, Win2K
Posted on 2003-11-07
I have tried numerous examples with JNI Visual C++ 6.0, Windows 2000 and java version "1.4.2" but the don't work.
They don't compile:
Test.obj : error LNK2001: unresolved external symbol __imp__JNI_CreateJavaVM@12
Test.obj : error LNK2001: unresolved external symbol __imp__JNI_GetDefaultJavaVMInitArgs@4
I have another example that compilies yet when I try to run the Java program it fails.
Does anyone have a veru simple example I can BUILD and USE to get me started?