checkout Pas Learner Runtime
In src/main/java/org.telscenter.pas.builders there are builders with main classes.
These are samples of java classes which each programatically create a single curnit.
On the command line, just run the class.
In Eclipse:
Right click on the java source file, select Run As, Java Application
You have now built a curnit.
You will find it in the target directory. The name of the curnit will be curnit-NAME.jar, where NAME is the name given to the curnit in the java source.
To run the curnit, select the run menu and then run.
Under Java Application on the left side, select CurnitPreviewXXX (XXX seems to change).
Select the curnit - curnit-NAME.jar - from the file system browser
Try this with several classes in the pas.builders directory to see several examples of PAS curnits with different activities.