the Launch4j does work with Java 17, but when I tried to create an installer from the jre I had an error saying that the jre is not found. It might have been my fault that the jre is not found, but I would like to see the error message include where it tried to search for and some healthful suggestions for the fix.
the problem is fixed, this ticket can be closed
Java 17 support