Finding class files / classpath issues
Suppose I have a JNI project that's run from:
C:\foo\apiDemos\C++
and a class file that I'd like to load in:
C:\foo\build\com\bar\oneloan\util\myClass.class
How do I load a reference to myClass? Java can't seem to find this class file. When I create the JVM, I use:
#define PATH_SEPARATOR';';
#define USER_CLASSPATH".;../../build/com/bar/oneloan/util"
JavaVMInitArgs vmArgs;
JavaVMOption options[1];
options[0].optionString ="-DJava.class.path=" USER_CLASSPATH;
It looks right I go up two directories and then down to util.Am I not setting the class path correctly?

