Updating Environment Variables

The Event Stream Processor installation process creates or updates the PATH environment variable on your system. Run SYBASE.bat to create or update additional environment variables required to run ESP.

The installer updates or creates the PATH environment variable:

On 64-bit Windows:
  • PATH=<Install_Dir>\OCS-15_0\lib3p64;<Install_Dir>\OCS-15_0\lib3p;<Install_Dir>\OCS-15_0\dll;<Install_Dir>\OCS-15_0\bin;
On 32-bit Windows:
  • PATH=<Install_Dir>\OCS-15_0\lib3p;<Install_Dir>\OCS-15_0\dll;<Install_Dir>\OCS-15_0\bin

In addition, update or create the following environment variables by running SYBASE.bat, located in the main directory into which you installed ESP:

On 64-bit Windows only:
  • SAP_JRE7_64=<Install_Dir>\Shared\SAPJRE-7_1_011_64BIT
  • SCC_JAVA_HOME=<Install_Dir>\Shared\SAPJRE-7_1_011_64BIT
On 32-bit Windows only:
  • SCC_JAVA_HOME=<Install_Dir>\Shared\SAPJRE-7_1_011_32BIT
On both 64-bit and 32-bit Windows:
  • SAP_JRE7_32=<Install_Dir>\Shared\SAPJRE-7_1_011_32BIT
  • SYBASE=<Install_Dir>
  • SYBASE_OCS=OCS-15_0
  • INCLUDE=<Install_Dir>\OCS-15_0\include;%INCLUDE%
  • LIB=<Install_Dir>\OCS-15_0\lib;%LIB%
  • PATH=<Install_Dir>\OCS-15_0\bin;<Install_Dir>\OCS-15_0\dll;<Install_Dir>\OCS-15_0\lib3p;<Install_Dir>\ESP-5_1\lib\jre\bin;%PATH%
  • ESP_HOME=<Install_Dir>\ESP-5_1

The environment variable ESP_HOME represents the directory where you installed Event Stream Processor. Specifically, the value of ESP_HOME is:

%install_location%\ESP-5_1

Use this environment variable when referencing file paths relative to the Event Stream Processor installation directory.

For both internal and external adapters, the environment variable JAVA_HOME must be set to the JRE version 1.7.0_01, or later.