How are you trying to call the VM? Is it via the GetJavaVM(JNIEnv *env, JavaVM **vm) API? This is how you invoke the VM from a C app. Here is a good tutorial:
http://java.sun.com/j2se/1.3/docs/guide/jni/spec/invocation.doc.html
If you are doing this make sure same version of java is same...