This section provides examples of different command-line operations. The commands used are a formatted set of commands, executed in the sequence that they appear in the command string. Include the path of the directory where the javatest.jar file is installed (represented as [jt_dir/] in the following example). The javatest.jar file is usually installed in the TCK lib directory when the JavaTest harness bundled with a TCK.
All of the command formats use combinations of commands in the following basic sequence:
Example:
java -jar [jt_dir/lib/]javatest.jar [set harness options] -batch [initialize configuration] [set standard values] [set other configuration values] [perform task]
You can set configuration values by using a tag-name to value format. It is an error to set a configuration value in a command if the question tag-name is not found in the current question path. To determine the current path, use the -path option. See Obtaining a tag-name for detailed information about the tag-name for the question.
See Formatting a Command for a description of the different command formats that can be used.
The following sections provide different examples that you can use as patterns for creating commands:
Setting Specific Configuration Values