JNI_CreateJavaVM return -1
I have the following code:
function a{
call JNI_CreateJavaVM
do some thing
DestroyJavaVM
}
function b{
Call function a;
call function a again;
}
the problem is when I "call function a again". the create function returns -1.
anyone has any idea why?
Thanks!

