6.9.1 Locating the License Information

The license information for debugged runtime systems can be provided in
several ways. Most of them can also be used as alternative ways for
providing the license information to extended runtime systems
(see Managing Extended Runtime License Information).

On Windows only, if you have installed the SICStus Prolog development
system on the machine where the runtime system is to be debugged, then
the license information will be found in the Windows registry and no
extra steps need to be performed. This method cannot be used for
providing an extended runtime system license since the license
information for the full development system is not the same as for an
extended runtime system.

If you have the license in a file license.pl, i.e. you
are using a UNIX platform or have manually created a license.pl
file on Windows, then you can make this file available to the debugged
runtime system in one of two ways:

Set the system property or environment variable
SP_LICENSE_FILE to the absolute path of the license.pl
file of a SICStus Prolog installation, or

Copy the license.pl file into the appropriate location
relative to the runtime system executable, i.e. to
sp-4.2.3/sicstus-4.2.3/library/license.pl on UNIX or
sp-4.2.3\library\license.pl on Windows.

Please Note: you can't redistribute license.pl.

The final alternative, available on all platforms, is to set the
following system properties or environment variables

SP_LICENSE_SITE

Set to the site name part of your license.

SP_LICENSE_CODE

Set to the code part of your license, e.g. something like
a111-b222-c333-d444-e444.

SP_LICENSE_EXPIRATION

Set to the expiration part of your license, e.g. permanent if you
have a permanent (non-evaluation) license.