Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startDefaultJVM() #2

Closed
Thrameos opened this issue Jun 18, 2017 · 1 comment
Closed

startDefaultJVM() #2

Thrameos opened this issue Jun 18, 2017 · 1 comment

Comments

@Thrameos
Copy link
Owner

Most of our usage of jpype is interactive with spyder. As used the jvm is started by startup.py. However, sometimes the script must also be used independently. Having a simple safe call to the start the jvm with default settings which cannot fail would help support both.

@Thrameos Thrameos self-assigned this Jun 18, 2017
@Thrameos
Copy link
Owner Author

Existing behavior is for a second call to startJVM is "RuntimeError: Unable to start JVM at native/common/jp_env.cpp:78". This is likely not a specific enough exception for a try block work around as there are many reasons for RuntimeException and the error message is not specific enough. Need to propose issuing an alternative exception to be issued.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant