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

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top