< prev index next >
src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/resources/HelpResources_zh_CN.properties
Print this page
*** 26,53 ****
MSG_Help=Usage: jpackage <options>\n\
\n\
Sample usages:\n\
--------------\n\
! \ Generate a non-modular application image:\n\
! \ jpackage -t app-image -d destdir -i inputdir -n name \\\n\
! \ --main-class className --main-jar MyJar.jar\n\
! \ Generate a modular application image:\n\
! \ jpackage -t app-image -n name -p modulePath \\\n\
\ -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 -t app-image -n name \\\n\
\ -m moduleName/className --runtime-image appRuntimeImage\n\
- \ Generate an application package:\n\
- \ jpackage -t <type> -n name \\\n\
- \ -p modulePath -m moduleName/className\n\
- \ jpackage -t <type> -i inputdir -n name \\\n\
- \ --main-class package.ClassName --main-jar MyJar.jar\n\
- \ jpackage -t <type> -n name \\\n\
- \ --app-image <app image dir>\n\
\ Generate a Java runtime package:\n\
\ jpackage -n name --runtime-image <runtime-image>\n\
\n\
Generic Options:\n\
\ @<filename> \n\
--- 26,55 ----
MSG_Help=Usage: jpackage <options>\n\
\n\
Sample usages:\n\
--------------\n\
! \ Generate an application package suitable for the host system:\n\
! \ For a modular application:\n\
! \ jpackage -n name -p modulePath -m moduleName/className\n\
! \ For a non-modular application:\n\
! \ jpackage -i inputDir -n name \\\n\
! \ --main-class className --main-jar myJar.jar\n\
! \ From a pre-built application image:\n\
! \ jpackage -n name --app-image appImageDir\n\
! \ Generate an application image:\n\
! \ For a modular application:\n\
! \ jpackage --type app-image -n name -p modulePath \\\n\
\ -m moduleName/className\n\
+ \ For a non-modular application:\n\
+ \ jpackage --type app-image -i inputDir -n name \\\n\
+ \ --main-class className --main-jar myJar.jar\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 --type app-image -n name \\\n\
\ -m moduleName/className --runtime-image appRuntimeImage\n\
\ Generate a Java runtime package:\n\
\ jpackage -n name --runtime-image <runtime-image>\n\
\n\
Generic Options:\n\
\ @<filename> \n\
*** 110,121 ****
\ the application image\n\
\ (absolute path or relative to the current directory)\n\
\ If --runtime-image is not specified, jpackage will run jlink to\n\
\ create the runtime image using options:\n\
\ --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 package\n\
\ (absolute path or relative to the current directory)\n\
--- 112,122 ----
\ the application image\n\
\ (absolute path or relative to the current directory)\n\
\ If --runtime-image is not specified, jpackage will run jlink to\n\
\ create the runtime image using options:\n\
\ --strip-debug, --no-header-files, --no-man-pages, and\n\
! \ --strip-native-commands.\n\
\n\
\Options for creating the application image:\n\
\ --icon <icon file path>\n\
\ Path of the icon of the application package\n\
\ (absolute path or relative to the current directory)\n\
*** 267,274 ****
MSG_Help_default_install_dir=\
\Absolute path of the installation directory of the application on OS X\n\
\ or Linux. Relative sub-path of the installation location of\n\
\ the application such as "Program Files" or "AppData" on Windows.\n\
! MSG_Help_no_args=Usage: jpackage <mode> <options>\n\
\Use jpackage --help (or -h) for a list of possible options\
--- 268,275 ----
MSG_Help_default_install_dir=\
\Absolute path of the installation directory of the application on OS X\n\
\ or Linux. Relative sub-path of the installation location of\n\
\ the application such as "Program Files" or "AppData" on Windows.\n\
! MSG_Help_no_args=Usage: jpackage <options>\n\
\Use jpackage --help (or -h) for a list of possible options\
< prev index next >