-
Notifications
You must be signed in to change notification settings - Fork 83
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
Failed to create a JVM with the requested environment. #291
Comments
Is it still failing today? Maybe you tried unluckily during a maven.scijava.org server downtime? |
No unfortunately it still does not work. |
@JeBiUKD I think the os.environ["JAVA_HOME"] ="C:/ProgramData/Miniconda3/envs/kymo/Library" and os.environ["JAVA_HOME"] ="C:/ProgramData/Miniconda3/envs/kymo/Library/jre" If neither of those works, try also with backslashes @hinerm Do you have experience with setting the |
Thank you for the suggestions. I have tried this already and I think the JAVA_HOME set up actually worked. I have the feeling that the download from maven seems to fail. I checked the folder structure between the two computer and noticed that my .jgo folder looks different. I transferred all the files from the computer where imagJ init did not cause a problem and now it seems to work. :) |
Do you have an idea of what was the difference ? |
I am not sure how the .jgo folders looked before initializing ImageJ the first time on the other computer, but for the folders on my PC which had trouble initializing imagej in python was missing almost all .jar files. I transferred the missing .jar files and then it worked. Now when running the initialization I get the note that JVM is already running (similar to the other computer). |
Dear all,
I have been working successfully with the package before but face problems when setting up PyImageJ on a different computer.
The problem already occurs in the initialization.
Here is a minimal script:
Error message:
I then tried to set the JAVA_HOME environment:
Then I get the following error message:
Here is my conda environment list:
Please let me know what I am doing wrong.
Best,
Jessica
The text was updated successfully, but these errors were encountered: