I use GluonHQ's backport of jpackager for the JDK 11, and running it with the --bind-services
argument:
jpackager create-installer -o installer --name "Demo App" --class net.clementlevallois.monitor.Controller --module net.clementlevallois.monitor --module-path lib/ --add-modules net.clementlevallois.monitorobserver --bind-services --win-menu --win-shortcut --win-dir-chooser --strip-native-commands --singleton
returns an installer but also throws :
Illegal argument [--bind-services]
Is it me doing something wrong or is this backport of jpackager effectively not supporting this argument?
My app gets packaged with an installer and I can launch it, but indeed it is supposed to call a service and fails to do so. In this case, how could I package a modular application that includes ServiceProviders
?