6.9 Setting Up Your Environment

You need to set several environment variables before using Oracle Tuxedo to build and run Oracle Tuxedo applications:Table 6-3,Table 6-4, Table 6-5 and Table 6-6.

Table 6-3 Oracle Tuxedo Core Environment Variables

Environment Variable Description
TUXDIR Absolute pathname of the product directory in which you installed the Oracle Tuxedo software on this machine. TUXDIR must be set on both server and client-only machines.
APPDIR Absolute pathname of the application directory in which application and administrative servers are booted on this server machine. APPDIR may be set to more than one application directory.
TUXCONFIG Absolute pathname of the device or system file where the binary TUXCONFIG file is found on this server machine. The TUXCONFIG file is created by running the tmloadcf(1) command on the UBBCONFIG configuration file.

Table 6-4 Oracle Tuxedo Client-Only Environment Variables

Environment Variable Description
WSENVFILE Tuxedo ATMI Workstation (/WS) client: Name of the file in which all environment variables are set for this workstation. There is no default for this variable.
TOBJADDR Tuxedo remote CORBA client: Address of the Tuxedo server machine’s listener; must match exactly (including case) the host and port specified for the server machine in the UBBCONFIG file.

Table 6-5 COBOL Environment Variables

Environment Variable Description
COBCPY Directories that contain a set of the COBOL COPY files to be used by the compiler.
COBOPT Arguments that you may want to use on the compile command line.

The following table lists Java Environment Variables.

Table 6-6 Java Environment Variables

Environment Variable Description
JAVA_HOME Absolute pathname of the Java Development Kit (JDK) 1.8.x installation directory on this machine; needed to build and run Java applications on this machine.*
JDKDIR Set to JAVA_HOME value.
CLASSPATH Absolute pathnames to classes and Java archive files on this machine; needed to run Java applications on this machine.

Note:

Oracle Tuxedo 22c distribution does not include a JDK