Running the Biometry Sample in Eclipse

The Biometry sample consists of two Java Card projects: Biometry_Client and Biometry_Server. We will run them without the APDU console.

Start Eclipse. Sample_Platform and Sample_Device must already be created.
  1. Import the Biometry_Client and Biometry_Server projects into your workspace. If the builds don’t start automatically, start them manually.
  2. Right-click on Biometry_Client, select Properties, select Run/Debug Settings, click New.... The Select Configuration Type window opens. Select Java Card Project Run, click OK.
  3. In the Edit Configuration dialog:
    1. In the Name field, enter Biometry
    2. Select Start simulator.
    3. In the Scripts to be executed on simulator list box, add the following scripts:
      • cap-com.sun.jcclassic.samples.biometryserver.script from Biometry_Server

      • cap-com.sun.jcclassic.samples.biometryclient.script from Biometry_Client

      • biometryEnroll.scr from Biometry_Client

      • biometryMatch.scr from Biometry_Client

    4. Click Apply and Close
  4. In Java Card View, double-click on Sample_Device. In the Properties for Sample_Device dialog, select the CREF tab:
    1. Select Do not open APDU console.
    2. Click OK.
  5. In the top menu, select Run and Run Configurations..., select Biometry and click Run.

    Compare the output with the contents of the biometry-client.expected.out file.