Running the StringHandlingApp Sample from the Command Line
To run the StringHandlingApp sample:
- Open a Command Prompt window, navigate to the JC_CLASSIC_HOME
\bin
directory, 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\lib
directory, and, at the command prompt, enter:ant
all
- 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\liblocal
directory and, at the command prompt, enter:ant
all
- 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\applet
directory and, at the command prompt, enter:ant
all
- Verify that the contents of the output file,
default.output
, in theapplet
directory are the same as the contents of thetest.expected.out
file.