Run the Biometry Sample from the Command Line
Open a Command Prompt window and perform the following:
Navigate to the JC_CLASSIC_HOME
\bindirectory.Start the RI by using the following command at the command prompt:
cref -o e2p
The RI saves the EEPROM contents to a file named
e2p. See Using the Reference Implementation for more information about usingcrefand its command line options.Open a second Command Prompt window and perform the following:
Navigate to the JC_CLASSIC_HOME
\samples\reference_apps\Biometry\Server\appletdirectory.Enter the following command at the command prompt:
ant allIn this sample's
appletdirectory, theantallcommand executes the APDU script and installs the secure RMI application.
In the
crefCommand Prompt window, restart the RI by using the following command:cref -i e2pThe RI uses the contents of the
e2pfile to initialize the EEPROM.In the applet Command Prompt window, perform the following:
Navigate to the JC_CLASSIC_HOME
\samples\reference_apps\Biometry\Client\appletdirectory.Enter the following command at the command prompt:
ant allIn this sample's
clientdirectory, theantallcommand executes the APDU script.
Verify that the output displayed in the Command Prompt window is the same as the contents of the
biometry-client.expected.outfile.

