Running programs

The files containing the code in Jess have the extension * a clip. There are two ways to run a program with this extension. One of them is to open the file jess.bat, then entering the command inside the opening in the command line:

Jess> (batch "examples/jess/sticks.clp")

Source: http://home.agh.edu.pl/~pmarynow/index3.html

To open a program written in Jess from the operating system command line we need to specify the path to jess.bat and then to the program * a clip.

C:\Jess71p2> bin\jess.bat examples\jess\sticks.clp

You can also use Java in a prepared more friendly console version of Jess. To start it enter in the command line a path to files with Jess:

C:\Jess71p2> java -classpath lib\jess.jar jess.Console

To write in a Jess language you can use universal editors like Notepad ++, Sublime. There is also an extension to Eclipse called JessDE, which contains features that may be handy with advanced projects, ie. syntax highlighting, hints, assistant 'quick fix' and the most useful debugging tools.