Chapter 1. Invocation

GoGui can be invoked with the command:

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

The argument program must be a valid command line for executing the actual Go program. If no program is given, GoGui will start with the Go program attached in the previous run or no 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 systems

For Unix systems there are launcher scripts in the bin directory. The launcher scripts respect the environment variable 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] program

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