Good news everyone! JDK 14 includes a new experimental tool called jpackage
, which allows combining jar and jdk into a desktop application. I just tried it with cljfx project I work with (Reveal) and after some experimentation managed to create an installable app: it’s as easy as invoking a command with a jar and main class args. I think it’s great that a missing piece in this whole java-on-desktop story is finally here!
I think I’ll write a blog post about jpackage and cljfx soonish, and will add information about packaging to the readme.