57 \ --runtime-image <runtime-image>\n\ |
57 \ --runtime-image <runtime-image>\n\ |
58 \n\ |
58 \n\ |
59 Generic Options:\n\ |
59 Generic Options:\n\ |
60 \ @<filename> \n\ |
60 \ @<filename> \n\ |
61 \ Read options and/or mode from a file \n\ |
61 \ Read options and/or mode from a file \n\ |
|
62 \ This option can be used multiple times.\n\ |
62 \ --app-version <version>\n\ |
63 \ --app-version <version>\n\ |
63 \ Version of the application and/or installer\n\ |
64 \ Version of the application and/or installer\n\ |
64 \ --copyright <copyright string>\n\ |
65 \ --copyright <copyright string>\n\ |
65 \ Copyright for the application\n\ |
66 \ Copyright for the application\n\ |
66 \ --description <description string>\n\ |
67 \ --description <description string>\n\ |
93 \ This module list, along with the main module (if specified)\n\ |
94 \ This module list, along with the main module (if specified)\n\ |
94 \ will be passed to jlink as the --add-module argument.\n\ |
95 \ will be passed to jlink as the --add-module argument.\n\ |
95 \ if not specified, either just the main module (if --module is\n\ |
96 \ if not specified, either just the main module (if --module is\n\ |
96 \ specified), or the default set of modules (if --main-jar is \n\ |
97 \ specified), or the default set of modules (if --main-jar is \n\ |
97 \ specified) are used.\n\ |
98 \ specified) are used.\n\ |
|
99 \ This option can be used multiple times.\n\ |
98 \ --module-path -p <module path>...\n\ |
100 \ --module-path -p <module path>...\n\ |
99 \ A {0} separated list of paths\n\ |
101 \ A {0} separated list of paths\n\ |
100 \ Each path is either a directory of modules or the path to a\n\ |
102 \ Each path is either a directory of modules or the path to a\n\ |
101 \ modular jar.\n\ |
103 \ modular jar.\n\ |
102 \ (each path is absolute or relative to the current directory)\n\ |
104 \ (each path is absolute or relative to the current directory)\n\ |
|
105 \ This option can be used multiple times.\n\ |
103 \ --runtime-image <file path>\n\ |
106 \ --runtime-image <file path>\n\ |
104 \ Path of the predefined runtime image that will be copied into\n\ |
107 \ Path of the predefined runtime image that will be copied into\n\ |
105 \ the application image\n\ |
108 \ the application image\n\ |
106 \ (absolute path or relative to the current directory)\n\ |
109 \ (absolute path or relative to the current directory)\n\ |
107 \ If --runtime-image is not specified, jpackage will run jlink to\n\ |
110 \ If --runtime-image is not specified, jpackage will run jlink to\n\ |
119 \ (absolute path or relative to the current directory)\n\ |
122 \ (absolute path or relative to the current directory)\n\ |
120 \ All files in the input directory will be packaged into the\n\ |
123 \ All files in the input directory will be packaged into the\n\ |
121 \ application image.\n\ |
124 \ application image.\n\ |
122 \n\ |
125 \n\ |
123 \Options for creating the application launcher(s):\n\ |
126 \Options for creating the application launcher(s):\n\ |
124 \ --add-launcher <file path>\n\ |
127 \ --add-launcher <launcher name>=<file path>\n\ |
125 \ Path to a Properties file that contains list of key, value pairs\n\ |
128 \ Name of launcher, and a path to a Properties file that contains\n\ |
126 \ (absolute path or relative to the current directory)\n\ |
129 \ a list of key, value pairs\n\ |
127 \ The keys "name" (required), "module", "add-modules",\n\ |
130 \ (absolute path or relative to the current directory)\n\ |
128 \ "main-jar", "main-class", "arguments", "java-options",\n\ |
131 \ The keys "module", "add-modules", "main-jar", "main-class",\n\ |
129 \ "app-version", "icon", and "win-console" can be used.\n\ |
132 \ "arguments", "java-options", "app-version", "icon", and\n\ |
|
133 \ "win-console" can be used.\n\ |
130 \ These options are added to, or used to overwrite, the original\n\ |
134 \ These options are added to, or used to overwrite, the original\n\ |
131 \ command line options to build an additional alternative launcher.\n\ |
135 \ command line options to build an additional alternative launcher.\n\ |
132 \ The main application launcher will be built from the command line\n\ |
136 \ The main application launcher will be built from the command line\n\ |
133 \ options. Additional alternative launchers may be built using\n\ |
137 \ options. Additional alternative launchers can be built using\n\ |
134 \ this option.\n\ |
138 \ this option, and this option can be used multiple times to\n\ |
|
139 \ build multiple additional launchers. \n\ |
135 \ --arguments <main class arguments>\n\ |
140 \ --arguments <main class arguments>\n\ |
136 \ Command line arguments to pass to the main class if no command\n\ |
141 \ Command line arguments to pass to the main class if no command\n\ |
137 \ line arguments are given to the launcher\n\ |
142 \ line arguments are given to the launcher\n\ |
|
143 \ This option can be used multiple times.\n\ |
138 \ --java-options <java options>\n\ |
144 \ --java-options <java options>\n\ |
139 \ Options to pass to the Java runtime\n\ |
145 \ Options to pass to the Java runtime\n\ |
|
146 \ This option can be used multiple times.\n\ |
140 \ --main-class <class name>\n\ |
147 \ --main-class <class name>\n\ |
141 \ Qualified name of the application main class to execute\n\ |
148 \ Qualified name of the application main class to execute\n\ |
142 \ This option can only be used if --main-jar is specified.\n\ |
149 \ This option can only be used if --main-jar is specified.\n\ |
143 \ --main-jar <main jar file>\n\ |
150 \ --main-jar <main jar file>\n\ |
144 \ The main JAR of the application; containing the main class\n\ |
151 \ The main JAR of the application; containing the main class\n\ |
161 \ --file-associations <file path>\n\ |
168 \ --file-associations <file path>\n\ |
162 \ Path to a Properties file that contains list of key, value pairs\n\ |
169 \ Path to a Properties file that contains list of key, value pairs\n\ |
163 \ (absolute path or relative to the current directory)\n\ |
170 \ (absolute path or relative to the current directory)\n\ |
164 \ The keys "extension", "mime-type", "icon", and "description"\n\ |
171 \ The keys "extension", "mime-type", "icon", and "description"\n\ |
165 \ can be used to describe the association.\n\ |
172 \ can be used to describe the association.\n\ |
|
173 \ This option can be used multiple times.\n\ |
166 \ --identifier <id string>\n\ |
174 \ --identifier <id string>\n\ |
167 \ An identifier that uniquely identifies the application\n\ |
175 \ An identifier that uniquely identifies the application\n\ |
168 \ Defaults to the main class name.\n\ |
176 \ Defaults to the main class name.\n\ |
169 \ The value should be a valid DNS name.\n\ |
177 \ The value should be a valid DNS name.\n\ |
170 \ --install-dir <file path>\n\ |
178 \ --install-dir <file path>\n\ |