Setting the Environment Variables

Ensure that the required system environment variables are sourced before proceeding. The correct environment settings are needed for all sessions or processes that will interact with Oracle TimesTen. Every Oracle TimesTen instance (Server and Client) contains a script for setting the required environment variables. This script is located in instance_home_dir/bin and is named ttenv.[c]sh. It should always be dotted or sourced and never executed directly.

Example of setting the bash shell environment for a TimesTen instance homed in /instancepath/tt181:
source /instancepath/tt181/bin/ttenv.sh
Although it's possible to set the required environment variables manually, it is not recommended. Using the script:
  • Ensures that all the necessary environment variables (there are several) are correctly set.

  • Insulates you from the introduction of new variables in future Oracle TimesTen releases.