Displaying 1 result from an estimated 1 matches for "longwritable".
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
...running .jinit and checking
.jclassPath, i can see the jar file containing the class. Yet when trying to
instantaite the class, i get a class not found error.
Now If if, create my own vm (see below), and then run .jinit (which will use
my vm), i can find the class in question (org.apache.hadoop.io.longwritable)
Is there some classloader problem in rJava?
==code==
void create_vm(const char *clap) {
char* classpath = (char*) calloc(18+strlen(clap)+1, sizeof(char));
sprintf(classpath,"-Djava.class.path=%s",clap);
JavaVMInitArgs args;
JavaVMOption options[2];
args.version = JNI_VERSION_...