On Windows systems, launch4j uses registry entries to determine the Java installation to be used, based on the minimum and maximum version requirements (cf. https://sourceforge.net/p/launch4j/feature-requests/127/). Therefore EPUB-Checker does not work with Java distributions, that do not add registry entries, but are only configured via system variables (JAVA_HOME and/or PATH).
Is there a way to use the JAVA_HOME system variable as a fall-back, only in case when no suitable registry entries can be found?