Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fail to start Java VM, second time. Linux #88
I have been running a python function that uses javabridge for some time on my mac and have had no problems. I have switched over to linux and have a bug where the Java VM fails to start on the second iteration. I have performed every check and tested every version of java, javabridge and the other packages I'm using that I can think of. The problem is below:
***Before this error the function is called once and performs very well
and this at the end to close it:
***During the second iteration this problem occurs
***This is the problem:
File "javabridge/jutil.py", line 312, in start_vm
RuntimeError: Failed to start Java VM.
Any help would be greatly appreciated.
Yup - that is a fundamental limitation - you can call
For more information, see http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4712793 which documents a simple test case that fails to restart the JVM after shutting it down.
In any case, thanks for using Javabridge, John and good luck.
@LeeKamentsky can you please have a look on https://stackoverflow.com/questions/51795945/after-stopping-jvm-unable-to-start-it-again
Just ran into this problem. I was wondering whether there were any ways to fix this now (Aug. 2019)? Much appreciated!