Here is some part of my code that I have written in JAVA, As you can see this is a class called JC_VerificationC
The following code should allow you to access the field enrollmentID. Use the JNI String functions to read/manipulate them.
// Load the class
jclass jclass_JCV = env->FindClass(env, "my.package.JC_VerificationCandidate");
jfieldID fid_enrollmentID = env->GetFieldID(env, jclass_JCV, "enrollmentID" , "Ljava/lang/String;");
// Access the first element in the jVerificationCandList array
jobject jc_v = env->GetObjectArrayElement(env, jVerificationCandList, 0);
// get reference to the string
jstring jstr = (jstring) env->GetObjectField(env, jc_v, enrollmentID);
// Convert jstring to native string
const char *nativeString = env->GetStringUTFChars(env, jstr, 0);