![]() |
|
Tools Main |
Usage: java [options] class-name [arguments]
java [options] -jar file.jar [arguments]
javaw [options] class-name [arguments]
javaw [options] -jar file.jar [arguments]
The java launcher used with Ja.NET SE is the same one provided with Harmony. It is capable of launching applications both on .NET as well as the Harmony VM, and by default, will start up applications to run on the .NET runtime. If you'd prefer the launcher to use the Harmony VM, then use the -vmdir:drlvm option on the command line, and the launcher will start up the Harmony VM, instead of .NET.
We have included the options that are relevant to launching applications on .NET below for your reference. Not all Java launcher options apply to starting up applications on .NET, and in those cases, we silently ignore them and continue running the application. For a complete list of Harmony launcher options, reference the online Harmony documentation.
A separated list of directories, .jar archives, .zip archives, and .NET assemblies used in searching for application classes.
Print the product version and continue execution.
Print the product version and stop execution.
Set a system property named property_name to the value property_value.
Enable verbose output. Ja.NET SE ignores the gc option, but will process both class and jni
Print help on non-standard options.
Set the bootclasspath to the specified path. You can specify a list of directories, .jar archives, .zip archives which will be used in searching for system classes.
Append bootclasspath to the bootclasspath. You can specify a list of directories, .jar archives, .zip archives which will be used in searching for system classes.
Prepend bootclasspath to the bootclasspath. You can specify a list of directories, .jar archives, .zip archives which will be used in searching for system classes.
Specify the filename where log information will be written.
Turn logging on for all categories.
Set logging level to "warning" for all categories.
Set logging level for a specific category.
Specify the filename where trace information will be written.
Turn tracing on for a specific category.
Turn tracing on for all categories.