Running the HelloWorld Sample from the Command Line
To run the HelloWorld
sample:
-
Open a Command Prompt window and perform the following:
-
Navigate to the
JC_HOME_SIMULATOR\runtime\bin
directory. -
Start the Simulator by entering one of the following commands at the command prompt:
jcsw
(on Windows systems) or./jcsl
(on Linux systems).
-
-
Open a second Command Prompt window and perform the following:
-
Navigate to the
JC_HOME_SIMULATOR\samples\HelloWorld
directory. -
Enter either
build.bat
or./build.sh
(according to your operating system) in order to build Java Card applet and Java client. -
Enter either
run.bat
or./run.sh
(according to your operating system) to load the applet into the Simulator, send all APDUs and clean up afterwards.
-