TIBCO ActiveSpaces bin and lib Directories

For the operating system to find the ActiveSpaces libraries when an ActiveSpaces application is run, the paths of the ActiveSpaces bin and lib directories must be added to the PATH (Windows and UNIX) or LD_LIBRARY_PATH (UNIX) or DYLD_LIBRARY_PATH (OSX) environment variables on machines where ActiveSpaces is installed.

  • Add the ActiveSpaces bin directory to the PATH on Windows and UNIX
  • Add the ActiveSpaces lib directory to the PATH on Windows, or the LD_LIBRARY_PATH on UNIX, or the DYLD_LIBRARY_PATH on OSX

Windows Example

If ActiveSpaces is installed in <TIBCO_HOME>\as\<version> then add <TIBCO_HOME>\as\<version>\lib and <TIBCO_HOME>\as\<version>\bin to the PATH environment variable.

The following Windows command script sets the required environment variables for starting the Java as-agent utility in a command window.

Windows Command File for Setting Environment Variables for the Admin CLI

@echo off
set AS_HOME=<TIBCO_HOME>\as\<version>
set PATH=%AS_HOME%\lib;%AS_HOME%\bin;%PATH%
set JAVA_HOME=%DRIVE_C%\Program Files\Java\jdk1.7.0_51
set PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\lib
Note:

Make sure that you prepend the AS_HOME\lib PATH setting and the AS_HOME\bin PATH setting to the PATH setting; for example:

set PATH=%AS_HOME%\lib;%AS_HOME%\bin;%PATH%

UNIX Example

If ActiveSpaces is installed in /usr/tibco/as/<version>:

Add /usr/tibco/as/<version>/lib to the LD_LIBRARY_PATH and /usr/tibco/as/<version>/bin to the PATH environment variable.

OS X Example

If ActiveSpaces is installed in /usr/tibco/as/<version>:

Add /usr/tibco/as/<version>/lib to the DYLD_LIBRARY_PATH and /usr/tibco/as/<version>/bin to the PATH environment variable.