JNI & jar files : use jar file in CLASSPATH when java is called from C code
Before creating my JVM from my C code, I set its options and particularly :
options[0].optionString = (char *) "-Djava.class.path=.:./toto.jar:<my CLASSPATH>
when toto.class is in current directory, my C code can find it
when toto.jar contains toto.class, my C code can find it
when toto.jar contains dir1/toto.class (jar file contains a sub tree and toto.class is not at root), my C code doesn't find the class !....
can someone help me please?
Thanks
JCC

