How to Run the Samples

Each sample directory contains an applet folder and, if applicable, client folder. You can use the Eclipse plug-in or the ant tool, which is invoked from the command line, to build and run the samples. In either case, the outcome is the same: the development kit tools are used to convert the class files and generate APDU script files.

The Java Card runtime environment, cref, simulates a Java Card Platform, Version 3.1 on a smart card. Applets are installed in the runtime environment, and it simulates interaction with a card reader.

Included in each sample directory is an expected output file so that you can see if the sample is running correctly.

To build and run the samples, go to one of the following: