Skip Headers
Oracle® TimesTen In-Memory Database Java Developer's Guide
Release 11.2.1

Part Number E13068-05
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

1 Java Development Environment

This chapter provides information about the Java development environment and related considerations. It includes the following topics:

Installing TimesTen and the JDK

Install and configure TimesTen for your environment, as described in Oracle TimesTen In-Memory Database Installation Guide, and the Java JDK, as described in your Java installation documentation. As you set up a Java development environment, the topics of particular interest in Oracle TimesTen In-Memory Database Installation Guide include:

After you have installed and configured TimesTen, create a data store DSN as described in "Managing TimesTen Data Stores" in Oracle TimesTen In-Memory Database Operations Guide. The topics of particular interest include the following:

Setting the Java environment variables

Environment variable settings for TimesTen are discussed in "Environment variables" in Oracle TimesTen In-Memory Database Installation Guide.

On UNIX platforms, you can set environment variables by executing one of the following scripts.


On Windows, you can either set environment variables during installation or run the following:


See "Java environment variables" in Oracle TimesTen In-Memory Database Installation Guide for more information about environment variables for Java, including discussion of the PATH, CLASSPATH, THREAD_FLAGS, and shared library path environment variables.

As noted there, the CLASSPATH variable should be set to point to the appropriate JDK JAR file, such as ttjdbc5.jar for JDK 5.0 or ttjdbc6.jar for JDK 6.0.

About the TimesTen Java demos

After you have configured your Java environment, you can confirm that everything is set up correctly by compiling and running the TimesTen Quick Start demo applications. Refer to the Quick Start welcome page at install_dir/quickstart.html, especially the links under Sample Programs, for information about the following:


All of the level demos support both direct and client/server connections to the data store.