Using the Converter for a Target Java Card Version

The Converter can be used to create CAP files for Java Card versions 3.0.4, 3.0.5 and 3.1.0, using the –target [version] command line parameter. If the CAP file needs to be deployed on multiple Java Card versions, use the oldest version (that is, the smallest version number) as the target.

Table 5-1 Converter Usage

API Version Converter Usage When to Use? CAP File Format Generated

3.0.4

-target 3.0.4

Use this mode when the target platform is 3.0.4.

2.2 (compact)

3.0.5

-target 3.0.5

Use this mode when the target platform is 3.0.5.

2.2 (compact)

3.1.0

-target 3.1.0 (default)

Use this format when the target platform is 3.1.0 and the code size is less than 64 K, in one package.

2.3 (compact)

3.1.0

-target 3.1.0 -config <file.json>

Use this format when the target platform is 3.1.0 and the code is made of multiple packages or code size is greater than 64 K.

2.3 (extended)