Running Jason by command line

Simple enough it should be somethihg like:

java -Xms2000M -Xmx2000M -XX:NewSize=1500M 
  -XX:UseParallelGC 
  -classpath './lib/jason.jar:./lib/c4jason.jar:./lib/cartago.jar:./bin/classes' 
  jason.infra.centralised.RunCentralisedMAS ModelName.mas2j

Test it – of course, this line assumes that the directory structure is such that the instruction is issued in the main Jason directory (so the ./lib/jason.jar works) and that the classes are placed in .bin/classes.

← Older Newer →