< prev index next >
src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties
Print this page
*** 25,55 ****
#
MSG_Help=Usage: jpackage <mode> <options>\n\
\n\
where mode is one of: \n\
! \ create-image\n\
\ Generates a platform-specific application image.\n\
\ create-installer\n\
\ Generates a platform-specific installer for the application.\n\
\ \n\
Sample usages:\n\
--------------\n\
\ Generate a modular application image:\n\
! \ jpackage create-image -o outputdir -n name \\\n\
! \ -m moduleName/className -p modulePath\n\
\ To provide your own options to jlink, run jlink separately:\n\
! \ jlink --output app.runtime -m moduleName -p modulePath \\\n\
\ --no-header-files [<additional jlink options>...]\n\
! \ jpackage -o outputdir -n name -m moduleName/className \\\n\
! \ --runtime-image app-runtime\n\
\ Generate a non-modular application image:\n\
! \ jpackage create-image -o outputdir -i inputdir -n name \\\n\
\ --main-class className --main-jar MyJar.jar\n\
\ Generate an application installer:\n\
\ jpackage create-installer -o outputdir -n name \\\n\
! \ -m moduleName/className -p modulePath\n\
\ jpackage create-installer -i inputdir -o outputdir -n name \\\n\
\ --main-class package.ClassName --main-jar MyJar.jar\n\
\ jpackage create-installer -o outputdir -n <installer-name> \\\n\
\ --app-image <app image dir> [--installer-type <type>]\n\
\ Generate a Java runtime installer:\n\
--- 25,55 ----
#
MSG_Help=Usage: jpackage <mode> <options>\n\
\n\
where mode is one of: \n\
! \ create-app-image\n\
\ Generates a platform-specific application image.\n\
\ create-installer\n\
\ Generates a platform-specific installer for the application.\n\
\ \n\
Sample usages:\n\
--------------\n\
\ Generate a modular application image:\n\
! \ jpackage create-app-image -o outputdir -n name \\\n\
! \ -p modulePath -m moduleName/className\n\
\ To provide your own options to jlink, run jlink separately:\n\
! \ jlink --output appRuntimeImage -p ModulePath -m moduleName\\\n\
\ --no-header-files [<additional jlink options>...]\n\
! \ jpackage create-app-image -o outputdir -n name\\\n\
! \ -m moduleName/className --runtime-image appRuntimeIMage\n\
\ Generate a non-modular application image:\n\
! \ jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
\ --main-class className --main-jar MyJar.jar\n\
\ Generate an application installer:\n\
\ jpackage create-installer -o outputdir -n name \\\n\
! \ -p modulePath -m moduleName/className\n\
\ jpackage create-installer -i inputdir -o outputdir -n name \\\n\
\ --main-class package.ClassName --main-jar MyJar.jar\n\
\ jpackage create-installer -o outputdir -n <installer-name> \\\n\
\ --app-image <app image dir> [--installer-type <type>]\n\
\ Generate a Java runtime installer:\n\
*** 109,137 ****
\ --strip-debug, --no-header-files, --no-man-pages, and\n\
\ --strip-native-commands. --bind-services will also be added if\n\
\ --add-modules is not specified.\n\
\n\
\Options for creating the application image:\n\
- \ --files -f <input file>[{0}<input file>...]\n\
- \ A {0} separated list of files in the input dir to be packaged\n\
- \ If omitted, all files in the input directory will be packaged.\n\
\ --icon <icon file path>\n\
\ Path of the icon of the application bundle\n\
\ (absolute path or relative to the current directory)\n\
\ --input -i <input path>\n\
\ Path of the input directory that contains the files to be packaged\n\
\ (absolute path or relative to the current directory)\n\
\n\
\Options for creating the application launcher(s):\n\
\ --add-launcher <file path>\n\
\ Path to a Properties file that contains list of key, value pairs\n\
\ (absolute path or relative to the current directory)\n\
\ The keys "name" (required), "module", "add-modules",\n\
\ "main-jar", "main-class", "arguments", "java-options",\n\
\ "app-version", "icon", and "win-console" can be used.\n\
\ These options are added to, or used to overwrite, the original\n\
! \ command line options when building an additional launcher.\n\
\ --arguments <main class arguments>\n\
\ Command line arguments to pass to the main class if no command\n\
\ line arguments are given to the launcher\n\
\ --java-options <java options>\n\
\ Options to pass to the Java runtime\n\
--- 109,139 ----
\ --strip-debug, --no-header-files, --no-man-pages, and\n\
\ --strip-native-commands. --bind-services will also be added if\n\
\ --add-modules is not specified.\n\
\n\
\Options for creating the application image:\n\
\ --icon <icon file path>\n\
\ Path of the icon of the application bundle\n\
\ (absolute path or relative to the current directory)\n\
\ --input -i <input path>\n\
\ Path of the input directory that contains the files to be packaged\n\
\ (absolute path or relative to the current directory)\n\
+ \ All files in the input directory will be packaged into the\n\
+ \ application image.\n\
\n\
\Options for creating the application launcher(s):\n\
\ --add-launcher <file path>\n\
\ Path to a Properties file that contains list of key, value pairs\n\
\ (absolute path or relative to the current directory)\n\
\ The keys "name" (required), "module", "add-modules",\n\
\ "main-jar", "main-class", "arguments", "java-options",\n\
\ "app-version", "icon", and "win-console" can be used.\n\
\ These options are added to, or used to overwrite, the original\n\
! \ command line options to build an additional alternative launcher.\n\
! \ The main application launcher will be built from the command line\n\
! \ options. Additional alternative launchers may be built using\n\
! \ this option.\n\
\ --arguments <main class arguments>\n\
\ Command line arguments to pass to the main class if no command\n\
\ line arguments are given to the launcher\n\
\ --java-options <java options>\n\
\ Options to pass to the Java runtime\n\
*** 153,163 ****
\Options for creating the application installer(s):\n\
\ --app-image <file path>\n\
\ Location of the predefined application image that is used\n\
\ to build an installable package\n\
\ (absolute path or relative to the current directory)\n\
! \ See the create-image mode options to create the application image.\n\
\ --file-associations <file path>\n\
\ Path to a Properties file that contains list of key, value pairs\n\
\ (absolute path or relative to the current directory)\n\
\ The keys "extension", "mime-type", "icon", and "description"\n\
\ can be used to describe the association.\n\
--- 155,165 ----
\Options for creating the application installer(s):\n\
\ --app-image <file path>\n\
\ Location of the predefined application image that is used\n\
\ to build an installable package\n\
\ (absolute path or relative to the current directory)\n\
! \ See create-app-image mode options to create the application image.\n\
\ --file-associations <file path>\n\
\ Path to a Properties file that contains list of key, value pairs\n\
\ (absolute path or relative to the current directory)\n\
\ The keys "extension", "mime-type", "icon", and "description"\n\
\ can be used to describe the association.\n\
< prev index next >