Yes, I've been using that tool for quite a while. I only used it to create a base though, to then pack it into an AppImage. I think the packaging options they provide are - pardon my French - idiotic. No ways to just create a single-file executable. But, when you just use it to create a folder with the minimum, self-contained stuff, the rest is actually easy to do with a separate script
I wouldn't call than idiotic, I think installable packages are fine for certain usecases. If you want single file executable, it's probably in the graalvm territory, which is too cutting edge right now. I know there is substrate library which does native image compiling for javafx apps, might be worth exploring: https://github.com/gluonhq/substrate
I haven't tried it though
I mean stuff like AppImage or DMG where everything is packed into a self-executing image. Works mighty fine by the way even with jpackage, you just have to pack up the output yourself
@zilti I've been reading jpackage's help output, and it seems it supports AppImage with --type app-image
:
Generic Options:
...
--type -t <type>
The type of package to create
Valid values are: {"app-image", "rpm", "deb"}
If this option is not specified a platform dependent
default type will be created.
...
Oh, nice! That is new then.
hmm my bad, app-image seems to be a jpackage term for intermediary results