The NIAKWA_RUNTIME variable may be used by the NPL RunTime to find the location of security files. This is accomplished by setting the NIAKWA_RUNTIME variable to the path where security files were installed on the server.
All versions of Windows operating systems allow a SET statement to be added to the AUTOEXEC.BAT file. The statement takes the following form:
SET NIAKWA_RUNTIME=<path>
where <path> is the path of the security files.
In Windows NT and 2000 and XP Professional operating systems, it is also possible to add environment variables through a graphical dialog, found in the Properties of the My Computer or System icon, within the Environment tab.
Note: if the path is not local, such as a path to a server, that server must have those directories shared.
NOTE: There is a great potential for confusion if NIAKWA_RUNTIME is set to one value in the Advanced Properties of the My Computer or System icon AND set to another in the AUTOEXEC.BAT file. Standard trouble shooting practices should involve checking BOTH locations.
The following examples demonstrate various ways to set NIAKWA_RUNTIME. All examples are based on a server named
MYNTSERVER
with an IP address of
10.10.1.1
where security has been installed to:
C:\PROGRAM FILES\NIAKWA\NPL
and that directory is shared as:
NPL
In prior revisions, the most common implementation on workstations was to map a networked drive, such as
N:
to this path, then use:
SET NIAKWA_RUNTIME=N:\NPL
Revision 5.10 introduced the ability to use a UNC path for the NIAKWA_RUNTIME variable. Thus our example could use:
SET NIAKWA_RUNTIME=\\MYNTSERVER\NPL
or
SET NIAKWA_RUNTIME=\\10.10.1.1\NPL