Open JeBiUKD opened 1 year ago
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 JAVA_HOME
needs to be set further up the directory chain. Try:
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 \
instead of forward slashes /
?
@hinerm Do you have experience with setting the JAVA_HOME
variable on Windows from Python? Does it work? How should it be?
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. :)
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