Skip to content
schoeberl edited this page Dec 5, 2012 · 1 revision

Short instructions how to run a SCJ Hello World on the JOP simulator.

However, at the moment the Hello World example is broken from top repository

One needs Java and make and a clone of the source:

git clone git://github.com/jop-devel/jop.git

To build the tools you need to run once:

make tools

Building and running an application in the simulation is as follows:

make jsim -e USE_SCOPES=true P1=rtapi P2=examples/safetycritical P3=HelloSCJ

USE_SCOPES: JOP default uses a garbage collector. Therefore, this parameter enables scopes.

P1, P2, P3 describe the application: P1 is a directory in the Java source P2 is the package name with / instead of . delimiter P3 is the main class

The SCJ hello world can be found in folder: jop/java/target/src/rtapi/examples/safetycritical

Clone this wiki locally