inside #jni_env scope