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

Calling Java that uses jep #1117

Open
injo11 opened this issue Mar 9, 2023 · 0 comments
Open

Calling Java that uses jep #1117

injo11 opened this issue Mar 9, 2023 · 0 comments

Comments

@injo11
Copy link

injo11 commented Mar 9, 2023

We have Java code that uses Python through jep, but want to expose this Java code to Python (through JPype, so Python host) so that we can use our Java library from Python. Is this possible? Trying this out makes the Python host crash immediately. Is there some other solution to this? The Python called from the JVM (currently through jep) sharing the Python kernel with the calling Python host or something else (two different Python kernels for host and JVM initiated would be ok if possible)? This problem looks like the opposite of issues #1084 and #516, but those could possibly be related to a solution. So rather than using JPype in a JVM host through jep, we want to use a Java library that uses jep Python code, from a Python host.

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

No branches or pull requests

1 participant