Model checking from the Command Line
You don’t need to use the toolbox for model checking.
It is also possible to model check from the command line using tla2tools.jar
.
Steps to run the model checking from the command line.
- Install
java
on the machine - Download the latest
tla2tools.jar
from the tla releases - Navigate to the folder the specification is located in
- Run
java -cp tla2tools.jar tlc2.TLC SpecName.toolbox/Model_1/MC
Note that this uses the relative path of tla2tools.jar
and you have to specify where you downloaded it yourself.
To see all the avaliable options use
java -cp tla2tools.jar tlc2.TLC -h