Uploaded image for project: 'Maven JLink Plugin'
  1. Maven JLink Plugin
  2. MJLINK-41

Add support for launcher script

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Labels:
      None

      Description

      The jlink tool can generate a launcher script (a *.bat file on Windows) so the user can start the application just with a double-click.

      These features should be considered:

      • Choose the main module (the one with the main class that should be startet)
      • Provide additional parameters (e.g. --enable-preview)
      • Optionally, choose between java and javaw (for GUI applications)

      Example: jlink --launcher MyApp=com.sample.mymodule leads to a launcher called MyApp.bat

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bmarwell Benjamin Marwell
                Reporter:
                future2r Frank Ulbricht
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: