imagej / imagej-common

ImageJ core data model
https://imagej.net/libs/imagej-common
BSD 2-Clause "Simplified" License
10 stars 18 forks source link

Warning about failed ImageJ.cfg is displayed even after successful parse #97

Open hinerm opened 3 years ago

hinerm commented 3 years ago

See https://forum.image.sc/t/request-for-testers-imagej-launcher/44674/23

imagesc-bot commented 3 years ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/request-for-testers-imagej-launcher/44674/24

hinerm commented 3 years ago

The problem here is actually that removing a line from the config violates the expected structure of the config file.

When first launching Edit > Options > Memory & Threads an ImageJ.cfg is automatically generated. That's fine, but the java path is carelessly set to the default jre\bin\javaw.exe. That should instead be set to the path to the actual java that is being used.