< prev index next >

src/java.base/share/classes/sun/launcher/resources/launcher.properties

Print this page




  58 \                  modules in the runtime image\n\
  59 \    --add-modules <module name>[,<module name>...]\n\
  60 \                  root modules to resolve in addition to the initial module.\n\
  61 \                  <module name> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
  62 \                  ALL-MODULE-PATH.\n\
  63 \    --list-modules\n\
  64 \                  list observable modules and exit\n\
  65 \    -d <module name>\n\
  66 \    --describe-module <module name>\n\
  67 \                  describe a module and exit\n\
  68 \    --dry-run     create VM and load main class but do not execute main method.\n\
  69 \                  The --dry-run option may be useful for validating the\n\
  70 \                  command-line options such as the module system configuration.\n\
  71 \    --validate-modules\n\
  72 \                  validate all modules and exit\n\
  73 \                  The --validate-modules option may be useful for finding\n\
  74 \                  conflicts and other errors with modules on the module path.\n\
  75 \    -D<name>=<value>\n\
  76 \                  set a system property\n\
  77 \    -verbose:[class|module|gc|jni]\n\
  78 \                  enable verbose output\n\
  79 \    -version      print product version to the error stream and exit\n\
  80 \    --version     print product version to the output stream and exit\n\
  81 \    -showversion  print product version to the error stream and continue\n\
  82 \    --show-version\n\
  83 \                  print product version to the output stream and continue\n\
  84 \    --show-module-resolution\n\
  85 \                  show module resolution output during startup\n\
  86 \    -? -h -help\n\
  87 \                  print this help message to the error stream\n\
  88 \    --help        print this help message to the output stream\n\
  89 \    -X            print help on extra options to the error stream\n\
  90 \    --help-extra  print help on extra options to the output stream\n\
  91 \    -ea[:<packagename>...|:<classname>]\n\
  92 \    -enableassertions[:<packagename>...|:<classname>]\n\
  93 \                  enable assertions with specified granularity\n\
  94 \    -da[:<packagename>...|:<classname>]\n\
  95 \    -disableassertions[:<packagename>...|:<classname>]\n\
  96 \                  disable assertions with specified granularity\n\
  97 \    -esa | -enablesystemassertions\n\
  98 \                  enable system assertions\n\


 112 \                  should always be passed as the argument to the -splash option.\n\
 113 \                  The most appropriate scaled image provided will be picked up\n\
 114 \                  automatically.\n\
 115 \                  See the SplashScreen API documentation for more information\n\
 116 \    @argument files\n\
 117 \                  one or more argument files containing options\n\
 118 \    -disable-@files\n\
 119 \                  prevent further argument file expansion\n\
 120 \    --enable-preview\n\
 121 \                  allow classes to depend on preview features of this release\n\
 122 \To specify an argument for a long option, you can use --<name>=<value> or\n\
 123 \--<name> <value>.\n
 124 
 125 # Translators please note do not translate the options themselves
 126 java.launcher.X.usage=\n\
 127 \    -Xbatch           disable background compilation\n\
 128 \    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
 129 \                      append to end of bootstrap class path\n\
 130 \    -Xcheck:jni       perform additional checks for JNI functions\n\
 131 \    -Xcomp            forces compilation of methods on first invocation\n\
 132 \    -Xdebug           provided for backward compatibility\n\
 133 \    -Xdiag            show additional diagnostic messages\n\
 134 \    -Xfuture          enable strictest checks, anticipating future default\n\
 135 \                      This option is deprecated and may be removed in a\n\
 136 \                      future release.\n\
 137 \    -Xint             interpreted mode execution only\n\
 138 \    -Xinternalversion\n\
 139 \                      displays more detailed JVM version information than the\n\
 140 \                      -version option\n\
 141 \    -Xlog:<opts>      Configure or enable logging with the Java Virtual\n\
 142 \                      Machine (JVM) unified logging framework. Use -Xlog:help\n\
 143 \                      for details.\n\
 144 \    -Xloggc:<file>    log GC status to a file with time stamps\n\


 145 \    -Xmixed           mixed mode execution (default)\n\
 146 \    -Xmn<size>        sets the initial and maximum size (in bytes) of the heap\n\
 147 \                      for the young generation (nursery)\n\
 148 \    -Xms<size>        set initial Java heap size\n\
 149 \    -Xmx<size>        set maximum Java heap size\n\
 150 \    -Xnoclassgc       disable class garbage collection\n\
 151 \    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
 152 \    -Xshare:auto      use shared class data if possible (default)\n\
 153 \    -Xshare:off       do not attempt to use shared class data\n\
 154 \    -Xshare:on        require using shared class data, otherwise fail.\n\


 155 \    -XshowSettings    show all settings and continue\n\
 156 \    -XshowSettings:all\n\
 157 \                      show all settings and continue\n\
 158 \    -XshowSettings:locale\n\
 159 \                      show all locale related settings and continue\n\
 160 \    -XshowSettings:properties\n\
 161 \                      show all property settings and continue\n\
 162 \    -XshowSettings:vm\n\
 163 \                      show all vm related settings and continue\n\
 164 \    -XshowSettings:system\n\
 165 \                      (Linux Only) show host system or container\n\
 166 \                      configuration and continue\n\
 167 \    -Xss<size>        set java thread stack size\n\
 168 \    -Xverify          sets the mode of the bytecode verifier\n\
 169 \                      Note that option -Xverify:none is deprecated and\n\
 170 \                      may be removed in a future release.\n\
 171 \    --add-reads <module>=<target-module>(,<target-module>)*\n\
 172 \                      updates <module> to read <target-module>, regardless\n\
 173 \                      of module declaration. \n\
 174 \                      <target-module> can be ALL-UNNAMED to read all unnamed\n\
 175 \                      modules.\n\
 176 \    --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\
 177 \                      updates <module> to export <package> to <target-module>,\n\
 178 \                      regardless of module declaration.\n\
 179 \                      <target-module> can be ALL-UNNAMED to export to all\n\
 180 \                      unnamed modules.\n\
 181 \    --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\
 182 \                      updates <module> to open <package> to\n\
 183 \                      <target-module>, regardless of module declaration.\n\
 184 \    --illegal-access=<value>\n\
 185 \                      permit or deny access to members of types in named modules\n\
 186 \                      by code in unnamed modules.\n\
 187 \                      <value> is one of "deny", "permit", "warn", or "debug"\n\
 188 \                      This option will be removed in a future release.\n\
 189 \    --limit-modules <module name>[,<module name>...]\n\
 190 \                      limit the universe of observable modules\n\
 191 \    --patch-module <module>=<file>({0}<file>)*\n\
 192 \                      override or augment a module with classes and resources\n\
 193 \                      in JAR files or directories.\n\
 194 \    --disable-@files  disable further argument file expansion\n\
 195 \    --source <version>\n\
 196 \                      set the version of the source in source-file mode.\n\n\
 197 These extra options are subject to change without notice.\n
 198 
 199 # Translators please note do not translate the options themselves
 200 java.launcher.X.macosx.usage=\
 201 \n\
 202 The following options are Mac OS X specific:\n\
 203 \    -XstartOnFirstThread\n\
 204 \                      run the main() method on the first (AppKit) thread\n\
 205 \    -Xdock:name=<application name>\n\
 206 \                      override default application name displayed in dock\n\
 207 \    -Xdock:icon=<path to icon file>\n\
 208 \                      override default icon displayed in dock\n\n
 209 
 210 java.launcher.cls.error1=\
 211     Error: Could not find or load main class {0}\n\
 212     Caused by: {1}: {2}
 213 java.launcher.cls.error2=\
 214     Error: Main method is not {0} in class {1}, please define the main method as:\n\
 215 \   public static void main(String[] args)
 216 java.launcher.cls.error3=\
 217     Error: Main method must return a value of type void in class {0}, please \n\
 218     define the main method as:\n\
 219 \   public static void main(String[] args)
 220 java.launcher.cls.error4=\
 221     Error: Main method not found in class {0}, please define the main method as:\n\
 222 \   public static void main(String[] args)\n\




  58 \                  modules in the runtime image\n\
  59 \    --add-modules <module name>[,<module name>...]\n\
  60 \                  root modules to resolve in addition to the initial module.\n\
  61 \                  <module name> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
  62 \                  ALL-MODULE-PATH.\n\
  63 \    --list-modules\n\
  64 \                  list observable modules and exit\n\
  65 \    -d <module name>\n\
  66 \    --describe-module <module name>\n\
  67 \                  describe a module and exit\n\
  68 \    --dry-run     create VM and load main class but do not execute main method.\n\
  69 \                  The --dry-run option may be useful for validating the\n\
  70 \                  command-line options such as the module system configuration.\n\
  71 \    --validate-modules\n\
  72 \                  validate all modules and exit\n\
  73 \                  The --validate-modules option may be useful for finding\n\
  74 \                  conflicts and other errors with modules on the module path.\n\
  75 \    -D<name>=<value>\n\
  76 \                  set a system property\n\
  77 \    -verbose:[class|module|gc|jni]\n\
  78 \                  enable verbose output for the given subsystem\n\
  79 \    -version      print product version to the error stream and exit\n\
  80 \    --version     print product version to the output stream and exit\n\
  81 \    -showversion  print product version to the error stream and continue\n\
  82 \    --show-version\n\
  83 \                  print product version to the output stream and continue\n\
  84 \    --show-module-resolution\n\
  85 \                  show module resolution output during startup\n\
  86 \    -? -h -help\n\
  87 \                  print this help message to the error stream\n\
  88 \    --help        print this help message to the output stream\n\
  89 \    -X            print help on extra options to the error stream\n\
  90 \    --help-extra  print help on extra options to the output stream\n\
  91 \    -ea[:<packagename>...|:<classname>]\n\
  92 \    -enableassertions[:<packagename>...|:<classname>]\n\
  93 \                  enable assertions with specified granularity\n\
  94 \    -da[:<packagename>...|:<classname>]\n\
  95 \    -disableassertions[:<packagename>...|:<classname>]\n\
  96 \                  disable assertions with specified granularity\n\
  97 \    -esa | -enablesystemassertions\n\
  98 \                  enable system assertions\n\


 112 \                  should always be passed as the argument to the -splash option.\n\
 113 \                  The most appropriate scaled image provided will be picked up\n\
 114 \                  automatically.\n\
 115 \                  See the SplashScreen API documentation for more information\n\
 116 \    @argument files\n\
 117 \                  one or more argument files containing options\n\
 118 \    -disable-@files\n\
 119 \                  prevent further argument file expansion\n\
 120 \    --enable-preview\n\
 121 \                  allow classes to depend on preview features of this release\n\
 122 \To specify an argument for a long option, you can use --<name>=<value> or\n\
 123 \--<name> <value>.\n
 124 
 125 # Translators please note do not translate the options themselves
 126 java.launcher.X.usage=\n\
 127 \    -Xbatch           disable background compilation\n\
 128 \    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
 129 \                      append to end of bootstrap class path\n\
 130 \    -Xcheck:jni       perform additional checks for JNI functions\n\
 131 \    -Xcomp            forces compilation of methods on first invocation\n\
 132 \    -Xdebug           does nothing. Provided for backward compatibility.\n\
 133 \    -Xdiag            show additional diagnostic messages\n\
 134 \    -Xfuture          enable strictest checks, anticipating future default.\n\
 135 \                      This option is deprecated and may be removed in a\n\
 136 \                      future release.\n\
 137 \    -Xint             interpreted mode execution only\n\
 138 \    -Xinternalversion\n\
 139 \                      displays more detailed JVM version information than the\n\
 140 \                      -version option\n\
 141 \    -Xlog:<opts>      Configure or enable logging with the Java Virtual\n\
 142 \                      Machine (JVM) unified logging framework. Use -Xlog:help\n\
 143 \                      for details.\n\
 144 \    -Xloggc:<file>    log GC status to a file with time stamps.\n\
 145 \                      This option is deprecated and may be removed in a\n\
 146 \                      future release. It is replaced by -Xlog:gc:<file>.\n\
 147 \    -Xmixed           mixed mode execution (default)\n\
 148 \    -Xmn<size>        sets the initial and maximum size (in bytes) of the heap\n\
 149 \                      for the young generation (nursery)\n\
 150 \    -Xms<size>        set initial Java heap size\n\
 151 \    -Xmx<size>        set maximum Java heap size\n\
 152 \    -Xnoclassgc       disable class garbage collection\n\
 153 \    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
 154 \    -Xshare:auto      use shared class data if possible (default)\n\
 155 \    -Xshare:off       do not attempt to use shared class data\n\
 156 \    -Xshare:on        require using shared class data, otherwise fail.\n\
 157 \                      This is a testing option and may lead to intermittent\n\
 158 \                      failures. It should not be used in production environments.\n\
 159 \    -XshowSettings    show all settings and continue\n\
 160 \    -XshowSettings:all\n\
 161 \                      show all settings and continue\n\
 162 \    -XshowSettings:locale\n\
 163 \                      show all locale related settings and continue\n\
 164 \    -XshowSettings:properties\n\
 165 \                      show all property settings and continue\n\
 166 \    -XshowSettings:vm\n\
 167 \                      show all vm related settings and continue\n\
 168 \    -XshowSettings:system\n\
 169 \                      (Linux Only) show host system or container\n\
 170 \                      configuration and continue\n\
 171 \    -Xss<size>        set java thread stack size\n\
 172 \    -Xverify          sets the mode of the bytecode verifier\n\
 173 \                      Note that option -Xverify:none is deprecated and\n\
 174 \                      may be removed in a future release.\n\
 175 \    --add-reads <module>=<target-module>(,<target-module>)*\n\
 176 \                      updates <module> to read <target-module>, regardless\n\
 177 \                      of module declaration. \n\
 178 \                      <target-module> can be ALL-UNNAMED to read all unnamed\n\
 179 \                      modules.\n\
 180 \    --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\
 181 \                      updates <module> to export <package> to <target-module>,\n\
 182 \                      regardless of module declaration.\n\
 183 \                      <target-module> can be ALL-UNNAMED to export to all\n\
 184 \                      unnamed modules.\n\
 185 \    --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\
 186 \                      updates <module> to open <package> to\n\
 187 \                      <target-module>, regardless of module declaration.\n\
 188 \    --illegal-access=<value>\n\
 189 \                      permit or deny access to members of types in named modules\n\
 190 \                      by code in unnamed modules.\n\
 191 \                      <value> is one of "deny", "permit", "warn", or "debug"\n\
 192 \                      This option will be removed in a future release.\n\
 193 \    --limit-modules <module name>[,<module name>...]\n\
 194 \                      limit the universe of observable modules\n\
 195 \    --patch-module <module>=<file>({0}<file>)*\n\
 196 \                      override or augment a module with classes and resources\n\
 197 \                      in JAR files or directories.\n\

 198 \    --source <version>\n\
 199 \                      set the version of the source in source-file mode.\n\n\
 200 These extra options are subject to change without notice.\n
 201 
 202 # Translators please note do not translate the options themselves
 203 java.launcher.X.macosx.usage=\
 204 \n\
 205 The following options are macOS specific:\n\
 206 \    -XstartOnFirstThread\n\
 207 \                      run the main() method on the first (AppKit) thread\n\
 208 \    -Xdock:name=<application name>\n\
 209 \                      override default application name displayed in dock\n\
 210 \    -Xdock:icon=<path to icon file>\n\
 211 \                      override default icon displayed in dock\n\n
 212 
 213 java.launcher.cls.error1=\
 214     Error: Could not find or load main class {0}\n\
 215     Caused by: {1}: {2}
 216 java.launcher.cls.error2=\
 217     Error: Main method is not {0} in class {1}, please define the main method as:\n\
 218 \   public static void main(String[] args)
 219 java.launcher.cls.error3=\
 220     Error: Main method must return a value of type void in class {0}, please \n\
 221     define the main method as:\n\
 222 \   public static void main(String[] args)
 223 java.launcher.cls.error4=\
 224     Error: Main method not found in class {0}, please define the main method as:\n\
 225 \   public static void main(String[] args)\n\


< prev index next >