Im writing a VC++ program that creates a JVM and then finds a class "Send.java" of mine successfully.
However when I invoke the following line, to call a function serve in that class:
env->GetMethodID(cls, "serve", "()V");
Everything stops running, and the error above is thrown
(The program does not even start!)
What could be causing this?
The defn for it should be in the jni.h header
(Do I nead a Send.h file as an interface? )