Skip to content

Commit

Permalink
Preload jvm DLL path
Browse files Browse the repository at this point in the history
This is based on the comment in

jpy-consortium/jpy#80 (comment)
  • Loading branch information
sc68cal authored Nov 21, 2023
1 parent 98cb3ff commit d596915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/drools/ruleset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit d596915

Please sign in to comment.