>>>>> Moses DeJong writes:

    Moses> The CLASSPATH and LD_LIBRARY_PATH are set so that the
    Moses> classes.zip file and the native libs are visible to the
    Moses> JVM.

Invocation doesn't use the CLASSPATH variable in 1.1. You
should set the classpath from within you C program:

JavaVM* vm;
JNIEnv* env;
JDK1_1InitArgs vm_args;
vm_args.version = 0x00010001;

JNI_GetDefaultJavaVMInitArgs(&vm_args);
vm_args.classpath = "java_home/lib/classes.zip:.";

JNI_CreateJavaVM(&vm, &env, &vm_args);



        Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Reply via email to