Next: , Previous: , Up: Kawa Scheme   [Contents][Index]


18.6.8.2 Running Kawa Scheme

To run a Kawa script file or the Kawa read-eval-print-loop run the Kawa application. There are various way to do so. The recommended way is to execute the $KAWA_HOME/bin/kawa Bash shell script. The script assumes that either a suitable java program is in your PATH; or the ‘JAVA’ environment variable names a suitable java executable; or that ‘JAVA_HOME’ is set so ‘$JAVA_HOME/bin/java’ is suitable.

Add the following to a startup script:

export KAWA_HOME='/usr/local/kawa/kawa-3.1.1'
alias kawaj='java -jar $KAWA_HOME/lib/kawa.jar'

The alias kawaj runs the kawa.jar directly, producing a repl.

Add the kawa bin directory to your ‘PATH’ variable:

export $KAWA_HOME/bin

To open the documentation manual as an html file, type:

kawa --brownse-manual