Hi, I was wondering if someone could help me, I adapted this code from some on Sun's website and it compiles fine, however it never creates the Virtual machine. I was wondering if anyone can tell me why? Derek Ross #include "jni.h" #include <stdio.h> main() { JavaVMInitArgs vm_args; JavaVMOption options[4]; jint res; JavaVM *vm; JNIEnv *env; options[0].optionString = "-Djava.compiler=NONE"; options[1].optionString = "-Djava.class.path=."; options[2].optionString = "-Djava.library.path=."; options[3].optionString = "-verbose:jni,class,gc"; vm_args.version = JNI_VERSION_1_2; vm_args.options = options; vm_args.nOptions = 4; vm_args.ignoreUnrecognized = JNI_TRUE; res = JNI_CreateJavaVM(&vm, (void **)&env, &vm_args); if (res < 0) printf("Failed to create Virtual Machine"); } ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]