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.
- Import the
Biometry_Client
and Biometry_Server
projects into your workspace. If the builds don’t start automatically, start them manually.
- 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.
- In the Edit Configuration dialog:
- In the Name field, enter Biometry
- Select Start simulator.
- 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
- Click Apply and Close
- In Java Card View, double-click on Sample_Device. In the Properties for Sample_Device dialog, select the CREF tab:
- Select Do not open APDU console.
- Click OK.
- 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.