After you install OpenSwitch, you may need to update the environment variables. OpenSwitch provides a batch file for this. These files are created at the end of the installation process under the root installation directory.
Go to the %SYBASE% directory, open a Command Prompt window, and enter:
.\SYBASE.bat
To run the coordination module sample in %OPENSWITCH%\sample, verify that %OPENSWITCH%\lib and %SYBASE%\%SYBASE_OCS%\dll are included in your PATH variable.
Table 4-1 describes the environment variables included in SYBASE.bat and SYBASE.env files.
Environment variable |
Description |
---|---|
%PATH% |
The directory path to OpenSwitch files. |
%SYBASE% |
The home directory where you install all Sybase products. |
%SYBASE_OCS% |
The subdirectory path to Open Client files. |
%SYBASE_JRE% |
The subdirectory in which the Java Runtime Environment (JRE) resides. OpenSwitch Manager Sybase Central plug-in uses this JRE for its runtime needs. |
%OPENSWITCH% |
The subdirectory path to OpenSwitch. |
%SCROOT% |
The subdirectory path to Sybase Central. |
%SYBROOT% |
The parent directory of %SCROOT%. If Sybase Central is installed in the same directory as OpenSwitch, %SYBASE% and %SYBROOT% are the same. |