search for: jni_getcreatedjavavms

Displaying 4 results from an estimated 4 matches for "jni_getcreatedjavavms".

2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
...vaVMInitArgs 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])->AttachCurrentThread(jvms[i], (void**)&jenv, NULL)) { jvm=jvms[i]; br...
2006 Apr 15
2
cannot load rJava in R
...15 / jdk 1.5.0-5 / R 2.2.1 / rJava ?? the repo one, have a look below). I compiled R myself with "--with-readline=no" and "--enable-R-shlib flags". Now, each time loading the library rJava I encouter the same error. I reinstalled several times (as root), always the same problem: JNI_GetCreatedJavaVMs is undefined, isn't it?! I couldn't find anything to that problem so far.. What went wrong? Do I have the recent repository for rJava? How can I fix this? Many thanks in advance!! Lothar [code] drops R-2.2.1 # R R : Copyright 2005, The R Foundation for Statistical Computing Version 2...
2007 Jun 14
1
JGR, Java and Kubuntu 7.04 ...
...#39;) > > Loading required package: rJava > Error in dyn.load(x, as.logical(local), as.logical(now)) : > unable to load shared library > '/usr/local/lib/R/site-library/rJava/libs/rJava.so': > /usr/local/lib/R/site-library/rJava/libs/rJava.so: undefined symbol: > JNI_GetCreatedJavaVMs Error: .onLoad failed in 'loadNamespace' for 'rJava' > Error: package 'rJava' could not be loaded When I first tried to run it without Java being installed, I got a message saying that JDK wasn't installed but mentioned 1.4.2. The version of Java actually install...
2007 Jan 31
0
Fwd: Unable to load rJava - Undefined Symbol GetCreatedJavaVMs
...e downloaded packages are in /tmp/RtmpVfFdOr/downloaded_packages > library(rJava) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/usr/lib/R/library/rJava/libs/rJava.so': /usr/lib/R/library/rJava/libs/rJava.so: undefined symbol: JNI_GetCreatedJavaVMs Error: .onLoad failed in 'loadNamespace' for 'rJava' Error: package/namespace load failed for 'rJava' [[alternative HTML version deleted]]