Since we bundle it, we should be easier about the requirement. However, it will require more work from @fewyn, since you can't cross-compile the packages with this tool, (which suuucks). So it has to build on each platform. It also makes us need to be very specific about how we package things.Do we need to target Java 16+, or is it sufficient to build with Java 16+? If the latter, we could probably do this today.
I think they are doing the "compile on each platform" thing because this is descended from JavaFX. If anyone wants to really make a big change, we could switch from Swing to JavaFX, which requires this kind of "build each platform" stuff, but at least that won't be a cost if we've already gone to JPackage.
Here's an example, if anyone wants to experiment.. IT's from the incubator version, but that's a single change to remove the .incubator part of the path.
A Guide to jpackage in Java | Baeldung
Learn about the usage of the jpackage command-line tool introduced in Java 14.
www.baeldung.com