jpackage runtime binaries

Michael Hall mik3hall at
Tue Feb 18 18:10:34 UTC 2020

I was wondering if there is any way to include java executable binaries like bin/java.

They do not appear to be default included. Looking at help I am not seeing a specific parameter for that purpose.

I do see…

 --runtime-image <file path>
          Path of the predefined runtime image that will be copied into
          the application image
          (absolute path or relative to the current directory)
          If --runtime-image is not specified, jpackage will run jlink to
          create the runtime image using options:
          --strip-debug, --no-header-files, --no-man-pages, and

Is —strip-native-commands what causes these to be omitted? So the workaround would be to jlink your own runtime. Or would a parameter to control that specific setting be possible?


More information about the core-libs-dev mailing list