ServiceEnvironmentVariable
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
Specifies a list of variables that will be set before the OpenAccess SDK service is started. The syntax for valid values is varname=value. The environment variable set using this attribute supersedes an environment variable with the same name set at the operating system level.
To define more than one variable, you must add more than one instance of the attribute to your service.
Note: For C/C++ and .NET services, the ServiceEnvironmentVariable should contain any configuration or library path settings required by the IP.
Note: For a Java service on UNIX and Linux, the ServiceEnvironmentVariable should contain the library path for the JVM shared library and the files required by the JVM.
Examples:
-
To specify the Shared library path for the JVM LIBPATH where LIBPATH is:
-
LIBPATH on AIX and z/OS USS
-
LD_LIBRARY_PATH on Solaris and Linux
-
PATH on Windows
-
For example, on Windows:
ServiceEnvironmentVariable=PATH=D:\Programs\java\j2sdk1.8\jre\bin\server;D:\Programs\java\j2sdk1.8\jre\bin
-
-
To specify the directory for the license ini file on Linux or UNIX:
ServiceEnvironmentVariable=ISLVINI=/usr/OA810/server/ipeTo configure services for the Windows Standard User:
ServiceEnvironmentVariable=OA_STD_WIN_USER=1
Type=Static
Static