Janet, I would be very interested on the performance of the JVM and if Java is involved with interllanguage type calls..
Regards, Scott Idmworks On Wednesday, March 30, 2016, Janet Graff < [email protected]> wrote: > This was the problem. Apparently I didn't need to specify a classpath. > > I changed the code to > > JNIEnv* create_vm(JavaVM **jvm) > { > JNIEnv* env; > JavaVMInitArgs args; > JavaVMOption options; > args.version = JNI_VERSION_1_6; > args.nOptions = 0; > args.options = &options; > args.ignoreUnrecognized = 0; > int rv; > rv = JNI_CreateJavaVM(jvm, (void**)&env, &args); > if (rv < 0 || !env) > printf("Unable to Launch JVM %d\n",rv); > else > printf("Launched JVM! :)\n"); > return env; > } > > and now the JVM comes up! > > Thank you all for your help! > Janet > >Why does the JNI_CreateJavaVM have a classpath? Isn't there one already > specified in the _CEE_ENVFILE? Maybe I don't need this? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] <javascript:;> with the message: > INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
