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

No jvm.dll found #726

Open
Fxztam opened this issue Jun 13, 2024 · 3 comments
Open

No jvm.dll found #726

Fxztam opened this issue Jun 13, 2024 · 3 comments

Comments

@Fxztam
Copy link

Fxztam commented Jun 13, 2024

I work with Python 3.9, the JAVA_HOME=C:\Java\jdk-19.0.2 and
get:

Exception: Unable to create jni env, no jvm dll found

@cmacdonald
Copy link
Contributor

which version of jnius?

where is the actual DLL inside C:\Java\jdk-19.0.2?

@MaxSchartmann
Copy link

I have the same problem. I work with Python 3.11.9 though
My DLL is inside C:\Program Files\Java\jdk-22\bin\server
I tried to adjust the JAVA_HOME but it still didn't work
Are there any suggestions what I can try out? I just want to apply a script I got sent, so I'm fairly new to coding. Tank you in advance

@cmacdonald
Copy link
Contributor

I have made a branch that adds more information:
cmacdonald/pyjnius@master...dll

@Fxztam do you have a working Windows compiler environment that would be able to build and install jnius?

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

4 participants