Documentation



Java Card 3 Platform Development Kit User Guide, Classic Edition

Run the Biometry Sample from the Command Line

  1. Open a Command Prompt window and perform the following:

    1. Navigate to the JC_CLASSIC_HOME\bin directory.

    2. 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 using cref and its command line options.

  2. Open a second Command Prompt window and perform the following:

    1. Navigate to the JC_CLASSIC_HOME\samples\reference_apps\Biometry\Server\applet directory.

    2. Enter the following command at the command prompt:

      ant all

      In this sample's applet directory, the ant all command executes the APDU script and installs the secure RMI application.

  3. In the cref Command Prompt window, restart the RI by using the following command:

    cref -i e2p

    The RI uses the contents of the e2p file to initialize the EEPROM.

  4. In the applet Command Prompt window, perform the following:

    1. Navigate to the JC_CLASSIC_HOME\samples\reference_apps\Biometry\Client\applet directory.

    2. Enter the following command at the command prompt:

      ant all

      In this sample's client directory, the ant all command executes the APDU script.

  5. Verify that the output displayed in the Command Prompt window is the same as the contents of the biometry-client.expected.out file.

Close Window

Table of Contents

Java Card: 3 Platform Development Kit User Guide, Classic Edition

Expand | Collapse