27 MSG_Help_common=Usage: jpackage <mode> <options>\n\ |
27 MSG_Help_common=Usage: jpackage <mode> <options>\n\ |
28 \n\ |
28 \n\ |
29 where mode is one of: \n\ |
29 where mode is one of: \n\ |
30 \ create-image\n\ |
30 \ create-image\n\ |
31 \ Generates a platform-specific application image.\n\ |
31 \ Generates a platform-specific application image.\n\ |
32 \ create-installer <type>\n\ |
32 \ create-installer\n\ |
33 \ Generates a platform-specific installer for the application.\n\ |
33 \ Generates a platform-specific installer for the application.\n\ |
34 \ Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg",\n\ |
|
35 \ "pkg", and "pkg-app-store".\n\ |
|
36 \ If "type" is omitted, all supported types of installable\n\ |
|
37 \ packages for the current platform will be generated.\n\ |
|
38 \ create-jre-installer <type>\n\ |
|
39 \ Generates a platform-specific installer for JRE.\n\ |
|
40 \ Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg", \n\ |
|
41 \ and "pkg".\n\ |
|
42 \ If "type" is omitted, all supported types of installable\n\ |
|
43 \ packages for the current platform will be generated.\n\ |
|
44 \ \n\ |
34 \ \n\ |
45 Sample usages:\n\ |
35 Sample usages:\n\ |
46 --------------\n\ |
36 --------------\n\ |
47 \ Generate an application image from a non-modular jar file:\n\ |
37 \ Generate a modular application image:\n\ |
|
38 \ jpackage create-image --output outputdir --name AppName \\\n\ |
|
39 \ --main-class package.ClassName -module moduleName -p modulePath\n\ |
|
40 \ jpackage create-image --o outputdir -n AppName \\\n\ |
|
41 \ -c package.ClassName -m moduleName -p modulePath\n\ |
|
42 \ Generate a non-modular application image:\n\ |
48 \ jpackage create-image --input inputdir --output outputdir \\\n\ |
43 \ jpackage create-image --input inputdir --output outputdir \\\n\ |
49 \ --name AppName --class package.ClassName --main-jar MyJar.jar\n\ |
44 \ --name AppName --main-class package.ClassName --main-jar MyJar.jar\n\ |
50 \ jpackage create-image -i inputdir -o outputdir -n AppName \\\n\ |
45 \ jpackage create-image -i inputdir -o outputdir -n AppName \\\n\ |
51 \ -c package.ClassName -j MyJar.jar\n\ |
46 \ -c package.ClassName -j MyJar.jar\n\ |
52 \ Generate an application image from a modular jar file:\n\ |
|
53 \ jpackage create-image --output outputdir --name AppName \\\n\ |
|
54 \ --class package.ClassName -module moduleName -p modulePath\n\ |
|
55 \ jpackage create-image --o outputdir -n AppName \\\n\ |
|
56 \ -c package.ClassName -m moduleName -p modulePath\n\ |
|
57 \ Generate an application installer:\n\ |
47 \ Generate an application installer:\n\ |
58 \ jpackage create-installer -i inputdir -o outputdir \\\n\ |
48 \ jpackage create-installer -i inputdir -o outputdir \\\n\ |
59 \ -n "Installer Name" -c package.ClassName -j MyJar.jar\n\ |
49 \ -n "Installer Name" -c package.ClassName -j MyJar.jar\n\ |
60 \ jpackage create-installer -o outputdir -n "Installer Name" \\\n\ |
50 \ jpackage create-installer -o outputdir -n "Installer Name" \\\n\ |
61 --app-image <app image dir>\n\ |
51 \ --app-image <app image dir>\n\ |
62 \ Generate a JRE installer:\n\ |
52 \ Generate a Java runtime installer:\n\ |
63 \ jpackage create-jre-installer -name <jre-name> -output outputdir\n\ |
53 \ jpackage create-installer --runtime-installer -name <jre-name>\\\n\ |
64 \ jpackage create-jre-installer -n <jre-name> -o outputdir \\\n\ |
54 \ --output outputdir\n\ |
65 \ --runtime-image <path>\n\ |
55 \ jpackage create-jre-installer --runtime-installer \\\n\ |
|
56 \ -n <jre-name> -o outputdir --runtime-image <path>\n\ |
66 \n\ |
57 \n\ |
67 The following options are valid for all platforms:\n\ |
58 The following options are valid for all platforms:\n\ |
68 \ @<filename> \n\ |
59 \ @<filename> \n\ |
69 \ Read options and/or mode from a file \n\ |
60 \ Read options and/or mode from a file \n\ |
70 \ --help -h \n\ |
61 \ --help -h \n\ |
85 \ Name of the application\n\ |
76 \ Name of the application\n\ |
86 \ --main-jar -j <main jar file>\n\ |
77 \ --main-jar -j <main jar file>\n\ |
87 \ The main JAR of the application\n\ |
78 \ The main JAR of the application\n\ |
88 \ (specified as a path relative to the input path)\n\ |
79 \ (specified as a path relative to the input path)\n\ |
89 \ This JAR should contain the main-class.\n\ |
80 \ This JAR should contain the main-class.\n\ |
90 \ --class -c <class name>\n\ |
81 \ --main-class -c <class name>\n\ |
91 \ Qualified name of the application class to execute\n\ |
82 \ Qualified name of the application main class to execute\n\ |
|
83 \ --installer-type <type> \n\ |
|
84 \ Specifies the type of the installer created in create-image mode\n\ |
|
85 \ Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg",\n\ |
|
86 \ "pkg", and "pkg-app-store".\n\ |
|
87 \ If this option is not specified (in create-installer mode),\n\ |
|
88 \ all supported types of installable packages for the current\n\ |
|
89 \ platform will be generated.\n\ |
|
90 \ --runtime-installer \n\ |
|
91 \ Generates a platform-specific installer for Java runtime.\n\ |
92 \ --app-version <version string>\n\ |
92 \ --app-version <version string>\n\ |
93 \ Version of the application\n\ |
93 \ Version of the application\n\ |
94 \ --arguments -a <main class arguments>\n\ |
94 \ --arguments -a <main class arguments>\n\ |
95 \ 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\ |
96 \ arguments are specified by the launcher\n\ |
96 \ arguments are specified by the launcher\n\ |
145 \ Description of the application\n\ |
145 \ Description of the application\n\ |
146 \ --category <category string>\n\ |
146 \ --category <category string>\n\ |
147 \ Category or group of the application\n\ |
147 \ Category or group of the application\n\ |
148 \ --vendor <vendor string>\n\ |
148 \ --vendor <vendor string>\n\ |
149 \ Vendor of the application\n\ |
149 \ Vendor of the application\n\ |
150 \ --force\n\ |
150 \ --overwrite\n\ |
151 \ Allow the deletion of any existing output root directory\n\ |
151 \ Allow the recursive deletion of an existing application \n\ |
152 \ when creating an Application image\n\ |
152 \ output directory when creating an application image\n\ |
153 \ --resource-dir <path>\n\ |
153 \ --resource-dir <path>\n\ |
154 \ Path to override jpackage resources\n\ |
154 \ Path to override jpackage resources\n\ |
155 \ Icons, template files, and other resources of jpackage can be\n\ |
155 \ Icons, template files, and other resources of jpackage can be\n\ |
156 \ over-ridden by adding replacement resources to this directory.\n\ |
156 \ over-ridden by adding replacement resources to this directory.\n\ |
157 \ (absolute path or relative to the current directory)\n\ |
157 \ (absolute path or relative to the current directory)\n\ |
163 \ and be located on the module path.\n\ |
163 \ and be located on the module path.\n\ |
164 \ --module-path -p <module path>\n\ |
164 \ --module-path -p <module path>\n\ |
165 \ Path JLink looks in for modules when packaging the Java Runtime\n\ |
165 \ Path JLink looks in for modules when packaging the Java Runtime\n\ |
166 \ (absolute path or relative to the current directory)\n\ |
166 \ (absolute path or relative to the current directory)\n\ |
167 \ --add-modules <module list>\n\ |
167 \ --add-modules <module list>\n\ |
168 \ A {0} separated list of modules to add to JImage creation,\n\ |
168 \ A comma (",") separated list of modules to add to JImage creation,\n\ |
169 \ including possible services\n\ |
169 \ including possible services\n\ |
170 \ --limit-modules <module list>\n\ |
|
171 \ A {0} separated list of Modules to limit JImage creation to\n\ |
|
172 |
170 |
173 MSG_Help_mac=\nThe following options are valid for Mac OS X platforms:\n\ |
171 MSG_Help_mac=\nThe following options are valid for Mac OS X platforms:\n\ |
174 \ --mac-sign\n\ |
172 \ --mac-sign\n\ |
175 \ Request that the bundle be signed\n\ |
173 \ Request that the bundle be signed\n\ |
176 \ --mac-bundle-name <name string>\n\ |
174 \ --mac-bundle-name <name string>\n\ |