Hi all,
I create a JVM inside my C code. but when running,
it said that Can't find Prog Class as what i witten in my c code.
cls = (*env)->FindClass(env,
"Prog");
if (cls == 0) { fprintf(stderr, "Can't find Prog class\n"); exit(1); How to set the classpath until c know where to get
prog.class. I put it in /root/jni and set the following:
options[1].optionString =
"-Djava.class.path=root/jni/Prog"; // user classes
Why still can't find Prog class?
Thanks in advance
soonho
|
- Re: classpath Patrick Ohnewein
- Re: classpath Chris Abbey
- FYI: we're an adminless list? Chris Abbey
- Re: classpath Michael Sinz
- Classpath Ben Pharr
- Re: Classpath Syam_Kumar_Abburi
- Re: Classpath Jacob Nikom
- Re: Classpath Man Chi Ly
- Re: Classpath Dimitrios Vyzovitis
- soonho