Restrict use of ImageJ.cfg
Restrict use of ImageJ.cfg

Only use the Java command (and thus JRE) specified in the ImageJ.cfg if:
1) We are running in legacy mode
2) The specified Java command actually exists

imagej/imagej-launcher,imagej/imagej-launcher,imagej/imagej-launcher