44 \ --name AppName --main-class package.ClassName --main-jar MyJar.jar\n\ |
44 \ --name AppName --main-class package.ClassName --main-jar MyJar.jar\n\ |
45 \ jpackage create-image -i inputdir -o outputdir -n AppName \\\n\ |
45 \ jpackage create-image -i inputdir -o outputdir -n AppName \\\n\ |
46 \ -c package.ClassName -j MyJar.jar\n\ |
46 \ -c package.ClassName -j MyJar.jar\n\ |
47 \ Generate an application installer:\n\ |
47 \ Generate an application installer:\n\ |
48 \ jpackage create-installer -i inputdir -o outputdir \\\n\ |
48 \ jpackage create-installer -i inputdir -o outputdir \\\n\ |
49 \ -n "Installer Name" -c package.ClassName -j MyJar.jar\n\ |
49 \ -n <installer-name> -c package.ClassName -j MyJar.jar\n\ |
50 \ jpackage create-installer -o outputdir -n "Installer Name" \\\n\ |
50 \ jpackage create-installer -o outputdir -n <installer-name>\\\n\ |
51 \ --app-image <app image dir>\n\ |
51 \ --app-image <app image dir>\n\ |
52 \ Generate a Java runtime installer:\n\ |
52 \ Generate a Java runtime installer:\n\ |
53 \ jpackage create-installer --runtime-installer -name <jre-name>\\\n\ |
53 \ jpackage create-installer --runtime-installer\\\n\ |
54 \ --output outputdir\n\ |
54 \ --name <installer-name> --output outputdir\n\ |
55 \ jpackage create-jre-installer --runtime-installer \\\n\ |
55 \ jpackage create-installer --runtime-installer \\\n\ |
56 \ -n <jre-name> -o outputdir --runtime-image <path>\n\ |
56 \ -n <installer-name> -o outputdir --runtime-image <runtime-path>\n\ |
57 \n\ |
57 \n\ |
58 The following options are valid for all platforms:\n\ |
58 The following options are valid for all platforms:\n\ |
59 \ @<filename> \n\ |
59 \ @<filename> \n\ |
60 \ Read options and/or mode from a file \n\ |
60 \ Read options and/or mode from a file \n\ |
61 \ --help -h \n\ |
61 \ --help -h \n\ |
67 \ Path where generated output file is placed\n\ |
67 \ Path where generated output file is placed\n\ |
68 \ (absolute path or relative to the current directory)\n\ |
68 \ (absolute path or relative to the current directory)\n\ |
69 \ --input -i <input path>\n\ |
69 \ --input -i <input path>\n\ |
70 \ Path of the input directory that contains the files to package\n\ |
70 \ Path of the input directory that contains the files to package\n\ |
71 \ (absolute path or relative to the current directory)\n\ |
71 \ (absolute path or relative to the current directory)\n\ |
72 \ --files -f <input files>\n\ |
72 \ --files -f <input file>[{0}<input file>...]\n\ |
73 \ A {0} separated list of files in the input dir to be packaged\n\ |
73 \ A {0} separated list of files in the input dir to be packaged\n\ |
74 \ If omitted, all files in the input directory will be packaged.\n\ |
74 \ If omitted, all files in the input directory will be packaged.\n\ |
75 \ --name -n <application name>\n\ |
75 \ --name -n <application name>\n\ |
76 \ Name of the application\n\ |
76 \ Name of the application\n\ |
77 \ --main-jar -j <main jar file>\n\ |
77 \ --main-jar -j <main jar file>\n\ |
78 \ The main JAR of the application\n\ |
78 \ The main JAR of the application; containing the main class\n\ |
79 \ (specified as a path relative to the input path)\n\ |
79 \ (specified as a path relative to the input path)\n\ |
80 \ This JAR should contain the main-class.\n\ |
|
81 \ --main-class -c <class name>\n\ |
80 \ --main-class -c <class name>\n\ |
82 \ Qualified name of the application main class to execute\n\ |
81 \ Qualified name of the application main class to execute\n\ |
83 \ --installer-type <type> \n\ |
82 \ --installer-type <type> \n\ |
84 \ Specifies the type of the installer created in create-image mode\n\ |
83 \ The type of the installer created in create-image mode\n\ |
85 \ Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg",\n\ |
84 \ Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg",\n\ |
86 \ "pkg", and "pkg-app-store".\n\ |
85 \ "pkg", and "pkg-app-store".\n\ |
87 \ If this option is not specified (in create-installer mode),\n\ |
86 \ If this option is not specified (in create-installer mode),\n\ |
88 \ all supported types of installable packages for the current\n\ |
87 \ all supported types of installable packages for the current\n\ |
89 \ platform will be generated.\n\ |
88 \ platform will be generated.\n\ |
90 \ --runtime-installer \n\ |
89 \ --runtime-installer \n\ |
91 \ Generates a platform-specific installer for Java runtime.\n\ |
90 \ Generates a platform-specific installer for a Java runtime.\n\ |
92 \ --app-version <version string>\n\ |
91 \ --app-version <version string>\n\ |
93 \ Version of the application\n\ |
92 \ Version of the application\n\ |
94 \ --arguments -a <main class arguments>\n\ |
93 \ --arguments -a <main class arguments>\n\ |
95 \ Command line arguments to pass to the main class if no\n\ |
94 \ Command line arguments to pass to the main class if no command\n\ |
96 \ arguments are specified by the launcher\n\ |
95 \ line arguments are given to the launcher\n\ |
97 \ --icon <icon file path>\n\ |
96 \ --icon <icon file path>\n\ |
98 \ Path of the icon of the application bundle\n\ |
97 \ Path of the icon of the application bundle\n\ |
99 \ (absolute path or relative to the current directory)\n\ |
98 \ (absolute path or relative to the current directory)\n\ |
100 \ --identifier <id string>\n\ |
99 \ --identifier <id string>\n\ |
101 \ Machine readable identifier of the application\n\ |
100 \ Machine readable identifier of the application\n\ |
104 \ --verbose\n\ |
103 \ --verbose\n\ |
105 \ Enables verbose output\n\ |
104 \ Enables verbose output\n\ |
106 \ --strip-native-commands\n\ |
105 \ --strip-native-commands\n\ |
107 \ Removes native executables from the custom run-time images\n\ |
106 \ Removes native executables from the custom run-time images\n\ |
108 \ --jvm-args <java vm arguments>\n\ |
107 \ --jvm-args <java vm arguments>\n\ |
109 \ JVM flags and options to pass to the application\n\ |
108 \ Java arguments to pass to the virtual machine\n\ |
110 \ --file-associations <file path>\n\ |
109 \ --file-associations <file path>\n\ |
111 \ Path to a Properties file that contains list of key, value pairs\n\ |
110 \ Path to a Properties file that contains list of key, value pairs\n\ |
112 \ (absolute path or relative to the current directory)\n\ |
111 \ (absolute path or relative to the current directory)\n\ |
113 \ The keys "extension", "mime-type", "icon", and "description"\n\ |
112 \ The keys "extension", "mime-type", "icon", and "description"\n\ |
114 \ can be used to describe the association.\n\ |
113 \ can be used to describe the association.\n\ |
115 \ --secondary-launcher <file path>\n\ |
114 \ --secondary-launcher <file path>\n\ |
116 \ Path to a Properties file that contains list of key, value pairs\n\ |
115 \ Path to a Properties file that contains list of key, value pairs\n\ |
117 \ (absolute path or relative to the current directory)\n\ |
116 \ (absolute path or relative to the current directory)\n\ |
118 \ The keys "name" (required), "version", "module", "class",\n\ |
117 \ The keys "name" (required), "version", "module", "class",\n\ |
119 \ "icon", "arguments", "jvm-args", "win-menu",\n\ |
118 \ "icon", "arguments", "jvm-args", "win-menu",\n\ |
120 \ "win-shortcut", and "win-console" can be used to describe\n\ |
119 \ "win-shortcut", and "win-console" can be used.\n\ |
121 \ the secondary launcher.\n\ |
120 \ These options are added to, or used to overwrite, the original\n\ |
|
121 \ command line options when building the secondary launcher.\n\ |
122 \ --build-root <file path>\n\ |
122 \ --build-root <file path>\n\ |
123 \ Path of a new or empty directory used to create temporary files\n\ |
123 \ Path of a new or empty directory used to create temporary files\n\ |
124 \ (absolute path or relative to the current directory)\n\ |
124 \ (absolute path or relative to the current directory)\n\ |
125 \ If not specified, a temporary directory will be created and\n\ |
125 \ If not specified, a temporary directory will be created and\n\ |
126 \ removed upon the task completion.\n\ |
126 \ removed upon the task completion.\n\ |
162 \ This module must contain the main-class,\n\ |
162 \ This module must contain the main-class,\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 name>[,<module name>...]\n\ |
168 \ A comma (",") separated list of modules to add to JImage creation,\n\ |
168 \ A comma (",") separated list of modules to add.\n\ |
169 \ including possible services\n\ |
|
170 |
169 |
171 MSG_Help_mac=\nThe following options are valid for Mac OS X platforms:\n\ |
170 MSG_Help_mac=\nThe following options are valid for Mac OS X platforms:\n\ |
172 \ --mac-sign\n\ |
171 \ --mac-sign\n\ |
173 \ Request that the bundle be signed\n\ |
172 \ Request that the bundle be signed\n\ |
174 \ --mac-bundle-name <name string>\n\ |
173 \ --mac-bundle-name <name string>\n\ |