Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336799

Mistake in the "Application Image Modifications" subsection in the Packaging Tool User's Guide

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Delivered
    • Icon: P3 P3
    • 23
    • None
    • docs

        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.

              rgallard Raymond Gallardo
              rgallard Raymond Gallardo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: