Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8338313 | 21.0.4-oracle | Raymond Gallardo | P3 | Resolved | Delivered | |
JDK-8338312 | 17.0.12-oracle | Raymond Gallardo | P3 | Closed | Delivered |
We received the following reader’s feedback about the jpackage documentation regarding the section “Application Image Modifications”
https://docs.oracle.com/en/java/javase/22/jpackage/image-and-runtime-modifications.html#GUID-70F25F63-DE4C-4DC0-83D5-76EB5C55BEF0
[quote]
* I think you have a mistake here:
The --runtime-image option is not allowed with --type app-image. If you want to use a different runtime, pass it in when you create the application image that you plan to modify.
The runtime should be passed when creating the installable bundle of the modified application image. The sentence in your website gives the idea that the runtime should be passed when creating the application image, which incorrectly implies that --type app-image should be used together with --runtime-image.
[/quote]
I think it should be:
The --runtime-image option is not allowed with the --app-image option.
https://docs.oracle.com/en/java/javase/22/jpackage/image-and-runtime-modifications.html#GUID-70F25F63-DE4C-4DC0-83D5-76EB5C55BEF0
[quote]
* I think you have a mistake here:
The --runtime-image option is not allowed with --type app-image. If you want to use a different runtime, pass it in when you create the application image that you plan to modify.
The runtime should be passed when creating the installable bundle of the modified application image. The sentence in your website gives the idea that the runtime should be passed when creating the application image, which incorrectly implies that --type app-image should be used together with --runtime-image.
[/quote]
I think it should be:
The --runtime-image option is not allowed with the --app-image option.
- backported by
-
JDK-8338313 Mistake in the "Application Image Modifications" subsection in the Packaging Tool User's Guide
- Resolved
-
JDK-8338312 Mistake in the "Application Image Modifications" subsection in the Packaging Tool User's Guide
- Closed