Setting the Classpath for Java Development
Compiling any Java application requires the appropriate JARs to be in your classpath.
JDK 8
In TimesTen, the following is for JDK 8:
timesten_home/install/lib/ttjdbc8.jar
Java Environment Variables in Oracle TimesTen In-Memory Database Installation,
Migration, and Upgrade Guide discusses the
CLASSPATH
setting for compiling Java
applications in TimesTen.
JMS/XLA Applications
Compiling any JMS/XLA application requires the following to be in your classpath:
JMS Type | Classpath Entries |
---|---|
Jakarta |
In Installing TimesTen and Supported Java Components, you downloaded the Jakarta JMS JAR. You need to add the location of the JAR to your classpath:
Or:
|
JavaX |
|
timestenjmsxla.jar
is for use with both
Jakarta JMS and JavaX JMS, but note
download-directory/jakarta.jms-api-3.1.0.jar
or
download-directory/jakarta.jms-api-3.0.0.jar
in the classpath determines Jakarta JMS and
download-directory/install/3rdparty/jms1.1/lib/jms.jar
in the classpath determines JavaX JMS. If both JARs are in the
classpath, TimesTen defaults to Jakarta JMS.
Classpath Entry for ttenv
Use the appropriate ttenv
script to set your
environment, as discussed in Setting the Environment for Java Development.
Note:
-
For each TimesTen instance, the
timesten_home
/install
path is a symbolic link toinstallation_dir
, where TimesTen is installed. -
On Windows, there is only one TimesTen instance per installation, and
timesten_home
refers toinstallation_dir
\instance
.