Displaying 1 result from an estimated 1 matches for "jni_tru".
Did you mean:
jni_true
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
...rintf(classpath,"-Djava.class.path=%s",clap);
JavaVMInitArgs args;
JavaVMOption options[2];
args.version = JNI_VERSION_1_4;
args.nOptions = 2;
options[0].optionString = classpath;
options[1].optionString = "-Xrs";
args.options = options;
args.ignoreUnrecognized = JNI_TRUE;
JavaVM *jvms[32];
jsize vms=0;
int r=0;
r=JNI_GetCreatedJavaVMs(jvms, 32, &vms);
if (r) {
error("JNI_GetCreatedJavaVMs returned %d\n", r);
} else {
if (vms>0) {
int i=0;
while (i<vms) {
if (jvms[i]) {
if (!(*jvms[i])->AttachCurrentT...