The archive file can be used to execute a Prolog query answer loop. You will need a Java runtime environment so that you have a java command available. The following command will then execute the archive file and start the Prolog query answer loop without a graphical user interface.

java <options> –jar toplevel.jar –h <arguments>

To start the Prolog query answer loop with a graphical user interface the following command can be used. On Windows one might also use javaw instead of java:

java <options> –jar toplevel.jar <arguments>

The following options are recommended:

-Duser.language=<language_code>      # Locale language
-Duser.region=<country/area code> # Locale country
-mx<size>                     # Available memory
-Dapple.laf.useScreenMenuBar=true    # On Mac OS only.
-Dapple.awt.brushMetalLook=true     # On Mac OS only.
-Xdock:name=Jekejeke             # On Mac OS only.

Alternatively one can also double click the toplevel.jar which executes the archive file with the current default Java runtime and without any options or arguments. This works mostly for Windows and Mac OS, but might fail on Linux.

The archive file accepts further arguments. A detailed documentation of the archive file ar-guments can be found in the programming interface document for the class ToolkitEnvironment.

There is no need to unpack the archive file. Avoid re-deploying once the archive file has been activated, since this might invalidate the activation.