JNIInvocation A handy library which can be used in order to create a java vm and environment. Compilation Download the standalone Android NDK Modify the build.sh in Jni_helper/ in order to point to your ndk installation path References: https://blog.quarkslab.com/android-greybox-fuzzing-with-afl-frida-mode.html https://calebfenton.github.io/2017/04/05/creating_java_vm_from_android_native_code/ https://calebfenton.github.io/2017/04/14/calling_jni_functions_with_java_object_arguments_from_the_command_line/