Closed hinerm closed 3 years ago
@ctrueden thoughts?
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/updated-imagej-launcher-java-bundles/44841/8
This launcher was in use by ImageJ1 as well. I'm sure Wayne hasn't updated it in a long time, but might be good to check whether it still works with plain ImageJ1, and if not, why not. Seems a shame to break that support if we don't have a good reason for it.
IIRC, the ImageJ.cfg
logic was in service to the ImageJ1 support. But the fact that it always falls back to system Java now when the ImageJ.cfg
path doesn't exist smells like a bug to me. Shall we change the launcher to look for Java preferentially as defined in ImageJ.cfg
, but still continue looking in other locations if not found there?
Based on this report it looks like trying to set the Java executable (and potentially Java path?) via
ImageJ.cfg
results in a search failure and fallback to system Java.I am not sure we actually want to guarantee behavior from
ImageJ.cfg
but our launcher should either:.cfg
settings. If they were working before they should continue to work.