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

Documentation for consuming published wheels #81

Open
devinrsmith opened this issue Aug 24, 2022 · 2 comments
Open

Documentation for consuming published wheels #81

devinrsmith opened this issue Aug 24, 2022 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@devinrsmith
Copy link
Member

With the introduction of the published wheels, it becomes necessary to ensure libjvm is "preloaded" appropriately.

It should probably suggest something like:

import jpyutil
# This needs to happen before `import jpy`
jpyutil.preload_jvm_dll()

import jpy

and/or

import jpyutil
# This needs to happen before `import jpy`
jpyutil.init_jvm()

import jpy

but it may need to be more nuanced to account for different situations.

@devinrsmith devinrsmith added the documentation Improvements or additions to documentation label Aug 24, 2022
@devinrsmith devinrsmith self-assigned this Aug 24, 2022
@devinrsmith
Copy link
Member Author

Spawned from #80

@mkanoor
Copy link

mkanoor commented Aug 24, 2022

On MAC it needs JAVA_HOME to be set especially if you have multiple versions of Java installed

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

No branches or pull requests

2 participants