jdk4py
jdk4py copied to clipboard
[HELP NEEDED] EXCEPTION_ACCESS_VIOLATION on Windows 10 and 11
Premise
This issue was originally posted to the Jpype repo: https://github.com/jpype-project/jpype/issues/1151
Considerations
If JPype is used with openjdk installed from oracle it works fine on my machine. If jdk4py is used by launching java from a terminal it works fine too. But when jdk4py version 17 is launched by Jpype it raises the EXCEPTION_ACCESS_VIOLATION error with the stack dump you can see following the link above.
Note: jdk4py and jpype work fine together on any other os I tested, as well as on github actions windows runners.
Insight
The problem is related with the jimage.dll library but neither the Jpype author nor I cam explain what's happening. Maybe I can find some help here.