Commit 35340052 authored by tourettes's avatar tourettes Committed by hpi1

Log the reason for Java VM creation failure

parent 4ab6924f
......@@ -444,7 +444,7 @@ static int _create_jvm(void *jvm_lib, const char *java_home, JNIEnv **env, JavaV
X_FREE(option);
if (result != JNI_OK || !*env) {
BD_DEBUG(DBG_BDJ | DBG_CRIT, "Failed to create new Java VM.\n");
BD_DEBUG(DBG_BDJ | DBG_CRIT, "Failed to create new Java VM. JNI_CreateJavaVM result: %d\n", result);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment