Running the StringHandlingApp Sample from the Command Line
To run the StringHandlingApp sample:
- Open a Command Prompt window, navigate to the JC_CLASSIC_HOME
\bindirectory, and start the RI by entering the following command at the command prompt:cref -o stringapp - Open a second Command Prompt window, navigate to the JC_CLASSIC_HOME
\samples\classic_applets\StringHandlingApp\libdirectory, and, at the command prompt, enter:antall - In the first Command Prompt window, restart the RI by typing:
cref -i stringapp -o stringapp - In the second Command Prompt window, navigate to the JC_CLASSIC_HOME
\samples\classic_applets\StringHandlingApp\liblocaldirectory and, at the command prompt, enter:antall - In the first Command Prompt window, start the RI by entering the following command at the command prompt:
cref -i stringapp - In the second Command Prompt window, navigate to the JC_CLASSIC_HOME
\samples\classic_applets\StringHandlingApp\appletdirectory and, at the command prompt, enter:antall - Verify that the contents of the output file,
default.output, in theappletdirectory are the same as the contents of thetest.expected.outfile.

