Running the Samples from the Command Line

To build and run the samples:

  1. In a Command Prompt window navigate to the sample you want to evaluate, build all necessary modules by entering either build.bat or ./build.sh depending on your operating system. Note that all the samples are located under: JC_HOME_SIMULATOR\samples.
  2. Start-up simulator by running either (also depending on your operating system)
    • %JC_HOME_SIMULATOR%\runtime\bin\jcsw.exe
    • ${JC_HOME_SIMULATOR}/runtime/bin/jcsl
  3. In the Command Prompt window created above execute the sample’s client by running run.bat or ./run.sh respectively.