From d5969156d932d8c1775de41502e9b3adb30ec799 Mon Sep 17 00:00:00 2001 From: "Sean M. Collins" Date: Mon, 20 Nov 2023 22:00:57 -0500 Subject: [PATCH] Preload jvm DLL path This is based on the comment in https://github.com/jpy-consortium/jpy/issues/80#issuecomment-1224173123 --- src/drools/ruleset.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drools/ruleset.py b/src/drools/ruleset.py index 1617f66..2be00f2 100644 --- a/src/drools/ruleset.py +++ b/src/drools/ruleset.py @@ -91,6 +91,8 @@ def _make_jpy_instance(): jvm_options.extend(jvm_log_options) + jpyutil.preload_jvm_dll() + jpyutil.init_jvm( jvm_maxmem=max_mem, jvm_classpath=[jar_file_path],