Fan Howard-W12211 wrote:
> 
> Hello,
> 
> I run into problem with JNI. Seems it can't set field variable, nor can
> it be used in Thread. Here's my program:
> 
>       fd1=(*Env)->GetIntField(Env,jcls,jfd)+1;
>

jcls should be jobj

>       (*Env)->SetIntField(Env, jcls, jfd, fd1);
>

jcls should be jobj

Ming-Ching

Reply via email to