Help Please! Exception while running
Hi, While running this program i get the following error
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d4408d9
Function name=JVM_EnableCompiler
Library=D:\jdk1.3.1\jre\bin\hotspot\jvm.dll
Program:
jobject colorResult_obj= env->GetObjectField(jbox,fid6);
jclass color_class =env->FindClass("ColorArray");
jmethodID mid=env->GetMethodID(color_class, "<init>", "()V");
jobjectArray color_obj_array = (jobjectArray)env->NewObjectArray(start,color_class,env->FindClass("ColorArray"));
jobject array_obj=(jobject)env->NewObject(color_class,mid);
env-> SetIntField(array_obj,red_f,red_j);
env-> SetIntField(array_obj,blue_f,blue_j);
env-> SetIntField(array_obj,green_f,green_j);
env->SetObjectArrayElement(color_obj_array,1,array_obj);
env->SetObjectField(colorResult_obj, fid6, color_obj_array);

