55 \ jpackage create-image --o outputdir -n AppName \\\n\ |
55 \ jpackage create-image --o outputdir -n AppName \\\n\ |
56 \ -c package.ClassName -m moduleName -p modulePath\n\ |
56 \ -c package.ClassName -m moduleName -p modulePath\n\ |
57 \ Generate an application installer:\n\ |
57 \ Generate an application installer:\n\ |
58 \ jpackage create-installer -i inputdir -o outputdir \\\n\ |
58 \ jpackage create-installer -i inputdir -o outputdir \\\n\ |
59 \ -n "Installer Name" -c package.ClassName -j MyJar.jar\n\ |
59 \ -n "Installer Name" -c package.ClassName -j MyJar.jar\n\ |
60 \ jpackage create-inataller -o outputdir -n "Installer Name" \\\n\ |
60 \ jpackage create-installer -o outputdir -n "Installer Name" \\\n\ |
61 --app-image <app image dir>\n\ |
61 --app-image <app image dir>\n\ |
62 \ Generate a JRE installer:\n\ |
62 \ Generate a JRE installer:\n\ |
63 \ jpackage create-jre-installer -name <jre-name> -output outputdir\n\ |
63 \ jpackage create-jre-installer -name <jre-name> -output outputdir\n\ |
64 \ jpackage create-jre-installer -n <jre-name> -o outputdir \\\n\ |
64 \ jpackage create-jre-installer -n <jre-name> -o outputdir \\\n\ |
65 \ --runtime-image <path>\n\ |
65 \ --runtime-image <path>\n\ |
70 \ --help -h \n\ |
70 \ --help -h \n\ |
71 \ Print the usage text with a list and description of each valid\n\ |
71 \ Print the usage text with a list and description of each valid\n\ |
72 \ option for the current platform to the output stream, and exit\n\ |
72 \ option for the current platform to the output stream, and exit\n\ |
73 \ --version -v\n\ |
73 \ --version -v\n\ |
74 \ Print the product version to the output stream and exit\n\ |
74 \ Print the product version to the output stream and exit\n\ |
75 \ --output -o <output dir>\n\ |
75 \ --output -o <output path>\n\ |
76 \ Name of the directory where generated output file is placed\n\ |
76 \ Path where generated output file is placed\n\ |
77 \ --input -i <input dir>\n\ |
77 \ (absolute path or relative to the current directory)\n\ |
78 \ Name of the input directory that contains the files to package\n\ |
78 \ --input -i <input path>\n\ |
|
79 \ Path of the input directory that contains the files to package\n\ |
|
80 \ (absolute path or relative to the current directory)\n\ |
79 \ --files -f <input files>\n\ |
81 \ --files -f <input files>\n\ |
80 \ A {0} separated list of files in the input dir to be packaged\n\ |
82 \ A {0} separated list of files in the input dir to be packaged\n\ |
81 \ If omitted, all files in the input directory will be packaged.\n\ |
83 \ If omitted, all files in the input directory will be packaged.\n\ |
82 \ --name -n <application name>\n\ |
84 \ --name -n <application name>\n\ |
83 \ Name of the application\n\ |
85 \ Name of the application\n\ |
84 \ --main-jar -j <main jar name>\n\ |
86 \ --main-jar -j <main jar file>\n\ |
85 \ The main JAR of the application\n\ |
87 \ The main JAR of the application\n\ |
86 \ This JAR should have the main-class, and is relative\n\ |
88 \ (specified as a path relative to the input path)\n\ |
87 \ to the assembled application directory.\n\ |
89 \ This JAR should contain the main-class.\n\ |
88 \ --class -c <class name>\n\ |
90 \ --class -c <class name>\n\ |
89 \ Qualified name of the application class to execute\n\ |
91 \ Qualified name of the application class to execute\n\ |
90 \ --app-version <version string>\n\ |
92 \ --app-version <version string>\n\ |
91 \ Version of the application\n\ |
93 \ Version of the application\n\ |
92 \ --arguments -a <main class arguments>\n\ |
94 \ --arguments -a <main class arguments>\n\ |
93 \ Command line arguments to pass to the main class if no\n\ |
95 \ Command line arguments to pass to the main class if no\n\ |
94 \ arguments are specified by the launcher\n\ |
96 \ arguments are specified by the launcher\n\ |
95 \ --icon <icon file name>\n\ |
97 \ --icon <icon file path>\n\ |
96 \ Icon of the application bundle\n\ |
98 \ Path of the icon of the application bundle\n\ |
|
99 \ (absolute path or relative to the current directory)\n\ |
97 \ --singleton\n\ |
100 \ --singleton\n\ |
98 \ Prevents multiple instances of the application from launching\n\ |
101 \ Prevents multiple instances of the application from launching\n\ |
99 \ (see SingleInstanceService API for more details)\n\ |
102 \ (see SingleInstanceService API for more details)\n\ |
100 \ --identifier <id string>\n\ |
103 \ --identifier <id string>\n\ |
101 \ Machine readable identifier of the application\n\ |
104 \ Machine readable identifier of the application\n\ |
106 \ --strip-native-commands\n\ |
109 \ --strip-native-commands\n\ |
107 \ Removes native executables from the custom run-time images\n\ |
110 \ Removes native executables from the custom run-time images\n\ |
108 \ --jvm-args <java vm arguments>\n\ |
111 \ --jvm-args <java vm arguments>\n\ |
109 \ JVM flags and options to pass to the application\n\ |
112 \ JVM flags and options to pass to the application\n\ |
110 \ --file-associations <file path>\n\ |
113 \ --file-associations <file path>\n\ |
111 \ Properties file that contains list of key,value pairs that\n\ |
114 \ Path to a Properties file that contains list of key, value pairs\n\ |
112 \ describe a file association\n\ |
115 \ (absolute path or relative to the current directory)\n\ |
113 \ "extension", "mime-type", "icon", and "description"\n\ |
116 \ The keys "extension", "mime-type", "icon", and "description"\n\ |
114 \ can be used as keys for the association.\n\ |
117 \ can be used to describe the association.\n\ |
115 \ --secondary-launcher <file path>\n\ |
118 \ --secondary-launcher <file path>\n\ |
116 \ Properties file that contains a collection of options\n\ |
119 \ Path to a Properties file that contains list of key, value pairs\n\ |
117 \ for a secondary launcher\n\ |
120 \ (absolute path or relative to the current directory)\n\ |
|
121 \ The keys "name" (required), "version", "module", "class",\n\ |
|
122 \ "icon", "arguments", "jvm-args", "win-menu",\n\ |
|
123 \ "win-shortcut", and "win-console" can be used to describe\n\ |
|
124 \ the secondary launcher.\n\ |
118 \ --build-root <file path>\n\ |
125 \ --build-root <file path>\n\ |
119 \ Directory in which to use and place temporary files\n\ |
126 \ Path of the directory used to create temporary files\n\ |
|
127 \ (absolute path or relative to the current directory)\n\ |
120 \ --runtime-image <file path>\n\ |
128 \ --runtime-image <file path>\n\ |
121 \ Location of the predefined runtime image that is used to build\n\ |
129 \ Path of the predefined runtime image that is used to build\n\ |
122 \ an application image and installable package\n\ |
130 \ an application image and installable package\n\ |
|
131 \ (absolute path or relative to the current directory)\n\ |
123 \ --app-image <file path>\n\ |
132 \ --app-image <file path>\n\ |
124 \ Location of the predefined application image that is used\n\ |
133 \ Location of the predefined application image that is used\n\ |
125 \ to build an installable package\n\ |
134 \ to build an installable package\n\ |
|
135 \ (absolute path or relative to the current directory)\n\ |
126 \ --install-dir <file path>\n\ |
136 \ --install-dir <file path>\n\ |
127 \ Installation directory of the application\n\ |
137 \ Absolute path of the installation directory of the application\n\ |
128 \ This option is ignored on Windows, use --win-dir-chooser to\n\ |
138 \ This option is ignored on Windows, use --win-dir-chooser to\n\ |
129 \ provide user the ability to choose the installation directory.\n\ |
139 \ provide user the ability to choose the installation directory.\n\ |
130 \ --license-file <file name>\n\ |
140 \ --license-file <file name>\n\ |
131 \ The license file, relative to the input directory\n\ |
141 \ The license file, relative to the input directory\n\ |
132 \ --copyright <copyright string>\n\ |
142 \ --copyright <copyright string>\n\ |
145 \ Main module of the application\n\ |
155 \ Main module of the application\n\ |
146 \ This module must contain the main-class,\n\ |
156 \ This module must contain the main-class,\n\ |
147 \ and be located on the module path.\n\ |
157 \ and be located on the module path.\n\ |
148 \ --module-path -p <module path>\n\ |
158 \ --module-path -p <module path>\n\ |
149 \ Path JLink looks in for modules when packaging the Java Runtime\n\ |
159 \ Path JLink looks in for modules when packaging the Java Runtime\n\ |
|
160 \ (absolute path or relative to the current directory)\n\ |
150 \ --add-modules <module list>\n\ |
161 \ --add-modules <module list>\n\ |
151 \ A {0} separated list of modules to add to JImage creation,\n\ |
162 \ A {0} separated list of modules to add to JImage creation,\n\ |
152 \ including possible services\n\ |
163 \ including possible services\n\ |
153 \ --limit-modules <module list>\n\ |
164 \ --limit-modules <module list>\n\ |
154 \ A {0} separated list of Modules to limit JImage creation to\n\ |
165 \ A {0} separated list of Modules to limit JImage creation to\n\ |
170 \ --mac-app-store-category <category string>\n\ |
181 \ --mac-app-store-category <category string>\n\ |
171 \ Mac App Store Categories\n\ |
182 \ Mac App Store Categories\n\ |
172 \ Note that the key is the string shown to\n\ |
183 \ Note that the key is the string shown to\n\ |
173 \ the user and the value is the ID of the category.\n\ |
184 \ the user and the value is the ID of the category.\n\ |
174 \ --mac-app-store-entitlements <file path>\n\ |
185 \ --mac-app-store-entitlements <file path>\n\ |
175 \ File location of a custom mac app store entitlements file\n\ |
186 \ Path of a custom mac app store entitlements file\n\ |
|
187 \ (absolute path or relative to the current directory)\n\ |
176 \ --mac-bundle-signing-prefix <prefix string>\n\ |
188 \ --mac-bundle-signing-prefix <prefix string>\n\ |
177 \ When signing the application bundle, this value is prefixed to all\n\ |
189 \ When signing the application bundle, this value is prefixed to all\n\ |
178 \ components that need to be signed that don't have\n\ |
190 \ components that need to be signed that don't have\n\ |
179 \ an existing bundle identifier.\n\ |
191 \ an existing bundle identifier.\n\ |
180 \ --mac-signing-key-user-name <user name>\n\ |
192 \ --mac-signing-key-user-name <user name>\n\ |
181 \ User name portion of the typical\n\ |
193 \ User name portion of the typical\n\ |
182 \ "Mac Developer ID Application: <user name>" signing key\n\ |
194 \ "Mac Developer ID Application: <user name>" signing key\n\ |
183 \ --mac-signing-keychain <file path>\n\ |
195 \ --mac-signing-keychain <file path>\n\ |
184 \ Location of the keychain to use\n\ |
196 \ Path of the keychain to use\n\ |
|
197 \ (absolute path or relative to the current directory)\n\ |
185 \ If not specified, the standard keychains are used.\n\ |
198 \ If not specified, the standard keychains are used.\n\ |
186 |
199 |
187 MSG_Help_linux=\nThe following options are valid for Linux platforms:\n\ |
200 MSG_Help_linux=\nThe following options are valid for Linux platforms:\n\ |
188 \ --linux-bundle-name <bundle name>\n\ |
201 \ --linux-bundle-name <bundle name>\n\ |
189 \ Name for Linux bundle, defaults to the application name\n\ |
202 \ Name for Linux bundle, defaults to the application name\n\ |