Hi,
I work on MAC with XCode.
I want open a window with JNI.
My problem is when i use FindClass.
With a bad path i've the return of error.
With a personnal class it's good.
with the javax/swing/JFrame class, it's blocked.
jclass cls2 = env->FindClass("javax/swing/JFrame"); if(cls2 == nullptr) { cerr << "ERROR: class not found !"; } else { cout << "Class MyTest found" << endl; }
I don't understand why it's blocked without message.
Does someone have ever see this problem and how can i resolve it ?
Sorry if my english is bad but ii'm not an english man