tioroy

Greenhorn
+ Follow
since May 22, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by tioroy

use
res = JNI_CreateJavaVM(&jvm, (void **) &env,&vm_args);
but, looking in the previous lines, changes:
vm_args.version = 0x00010001;
to
vm_args.version = JNI_VERSION_1_2;

To me, JNI_CreateJavaVM returned -3 (JNI_EVERSION). Changes the line, the VM is initialized correctly.
24 years ago