I am trying to invoke a simple java application from native side. While creating a JVM I am getting following error. I shall be higly obliged if I get any suggestions / comments - Thank you. I am using VC++ 5.0 IDE to compile my natice 'C' program. I receive an error at following line : /* Create the Java VM */ res = JNI_CreateJavaVM(&jvm, &env, &vm_args); And the error is : Error C2664: 'JNI_CreateJavaVM' : cannot convert parameter 2 from 'struct JNIEnv_ ** ' to 'void ** '