Chapter 1. Invocation

GoGui can be invoked with the command:

java -jar gogui.jar [options] [file]

The command line for executing the actual Go program can be given with the -program option, otherwise GoGui will start with the Go program attached in the previous run, or without Go program if there was none attached. You can attach and detach a Go program at any time by using the Attach Program and Detach Program menu item from the File menu.

See gogui(1) for a complete listing of the possible options to gogui.

GoGui on Unix

For Unix systems, there are launcher scripts in the bin directory. The launcher scripts respect the environment variable GOGUI_JAVA_HOME, if defined, and look for the jar files in ../lib relative to the bin directory. You can add the bin directory of GoGui to your PATH environment variable. The invocation is then simply:

gogui [options] [file]

To register GoGui as a handler for SGF files, you can configure a new file association for type application/x-go-sgf and filename pattern *.sgf to execute gogui.