Before running the tutorial, verify these environment settings:
For all platforms, the DJC_HOME environment variable must be set to the location of your EAServer installation.
For Windows, the PATH environment variable must include the EAServer lib subdirectory.
For UNIX platforms, the EAServer lib directory must be added to the shared library search path variable listed in Table 10-1 for your platform.
Platform |
Variable name |
---|---|
Solaris |
LD_LIBRARY_PATH |
HP-UX |
SHLIB_PATH |
AIX |
LIBPATH |
Linux |
LD_LIBRARY_PATH |
Configuring the Windows environment
To configure the command line where you are running the tutorials, run these commands, substituting your EAServer installation location for eas-home:
set DJC_HOME=eas-home set PATH=%DJC_HOME%\dll;%PATH%
You can also edit these variables in the System dialog for the Windows Control Panel, or create a batch file to configure the settings.
Configuring the UNIX environment for C shell
To configure the C shell session where you are running the tutorials, run these commands, substituting your EAServer installation location for eas-home, and the shared-library variable from Table 10-1 for LIB_PATH:
setenv DJC_HOME eas-home setenv LIB_PATH $DJC_HOME/lib:$LIB_PATH
Configuring the UNIX environment for Bourne shell
To configure the Bourne shell session where you are running the tutorials, run these commands, substituting your EAServer installation location for eas-home, and the shared-library variable from Table 10-1 for LIB_PATH:
DJC_HOME=eas-home export DJC_HOME LIB_PATH=$DJC_HOME/lib:$LIB_PATH export LIB_PATH