jpackage ROOTDIR variable in a Windows bat file
Michael Hall
mik3hall at gmail.com
Mon Nov 25 18:13:32 UTC 2019
>>> --install-dir ./outputdir
> Are you sure you want your app to be installed in %ProgramFiles%\outputdir directory?
I need to look at your detailed discussion of this.
>
>>>
>>> --name HalfPipe
>>> --runtime-image "c:/Program Files/Java/jdk-14"
> --runtime-image and --add-modules parameters should not be used together.
> If Java run-time image is specified with --runtime-image parameter, jpackage will not run jlink command to create custom run-time from the list of modules specified in --add-modules parameter(s).
> So I'd recommend to remove --runtime-image from your input.
>
This I didn’t know. I’ll probably have to change my OS X build for this as well.
You also mentioned ROOTDIR. If this is jpackage internal - I think it used to be OS X public - I have no problem using APPDIR instead since everything currently seems to end up there anyhow.
More information about the core-libs-dev
mailing list