Java Card Development Kit Simulator Command Line

The Simulator supports the following command line parameters.

Table 3-1 Command Line Parameters

Parameter Description
-h or -help Prints help screen showing all available command line options.
-log_level=<level> Selects the level of details provided in the log. Log detail levels are: finest, finer, fine, config, info (default), warning, severe
-i=<input file> Specifies the input file to load a binary image into Non-Volatile Memory.
-o=<output file> Specifies the output file to store the binary image for Non-Volatile Memory.
-iin=<hexstring> Initializes the Issuer Identification Number (8 byte max).
-cin=<hexstring> Initializes the Card Image Number (10 bytes max).
-lcEncoding=<type> Sets the APDU Logical Channel encoding: type4 or type4type16 (default).
-p=<number> Starts the Simulator on the specified port number (default is 9025).
-debug_port=<number> Starts the debugger on the specified port number.
For example, on Linux:
$ ./jcsl -p=9000 -log_level=finest
INFO   |msg|000001|grp:hal | Oracle Java Card Simulator (v24.0 - Jan 14 2024)
INFO   |msg|000002|grp:hal |  - Java Card v3.2
INFO   |msg|000003|grp:hal |  - GP Card v2.3

For example, on Windows:
>jcsw.exe -p=9000 -log_level=finest
INFO   |msg|000001|grp:hal | Oracle Java Card Simulator (v24.0 - Jan 14 2024)
INFO   |msg|000002|grp:hal |  - Java Card v3.2
INFO   |msg|000003|grp:hal |  - GP Card v2.3