startJVM(getDefaultJVMPath(),*_jvmArgs) is failing with latest windows10 security update. #1132
Unanswered
pavankishor-rgb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
We are facing an issue while starting jvm after recent update with windows10 security update (KB5023696).
We are facing the following error.
Windows fatal exception: access violation
Current thread 0x00000e38 (most recent call first):
File "C:\Apps\Python38\lib\site-packages\jpype_core.py", line 224 in startJVM
Process finished with exit code -1073740940 (0xC0000374)
The code is shown as below.
args = []
cp = "-Djava.class.path=%s" % ( f"{vendor_path}/javaapp.jar;"
args.append("-Dlog4j.configurationFile=%s" % f"{props_path}/log4j2.xml")
args.append(cp)
startJVM(getDefaultJVMPath(),*args)
Important point is , the same code is working fine without any issue prior to the windows10 security update (KB5023696).
Stack information: Python:3.8.9
JDK17.0
Jpype1.4.0
**However with latest windows security update, if we just run the jvm without any jvm argument like 'startJVM(getDefaultJVMPath())', then jvm is running fine . If you pass any args parameter like 'startJVM(getDefaultJVMPath(),args)' and the args contains any valid jvm argument then staring of jvm is is failing with same windows fatal exception 0xC0000374)
So the problem is if add any jvm argument while starting jvm with jpype is giving error with latest windows update. We got struck not able to move forward.
Please provide us some solution to resolve the issue.
Beta Was this translation helpful? Give feedback.
All reactions