JNI question: invoking JVM...

D

Daniel

I'm trying to invoke the JVM in C code. I tried compiling and running
the example code "invoke.c" which is at
http://java.sun.com/docs/books/tutorial/native1.1/invoking/example-1dot1/invoke.c

This code compile fine in Visual Studio .NET. But when I run it on my XP
machine, I get this error. Any ideas?

Unhandled Exception: System.TypeLoadException: Could not load type
_jobject from
assembly testjni, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null.
at main()

Thanks,
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top