The eXtremeDB package you have installed contains several Java samples demonstrating individual features. All of the necessary source code, tools and scripts are provided to make building and running these samples simple and easy. The build procedure will vary slightly depending on your development platform. Please follow the steps outlined below for your development environment. Then use the links for the desired group of samples from the table under Running SDK Samples to view explanations of the individual samples and instructions for running them.
Unix-Linux build procedure
For Unix-Linux packages, a makefile is provided in the installation root directory as well as in each sample sub-directory. It is important that the
JAVA_HOME
andPATH
environment variables are correctly set before running samples.JAVA_HOME
should point to the java runtime directory and thePATH
variable needs to include the Java binaries directory. For example it might be necessary to execute commands like the following before running the samples:export JAVA_HOME=/usr/java/jdk1.6.0_34 export PATH=/usr/java/jdk1.6.0_34/bin:$PATHWith the environment variables properly set, the Java samples can be built by simply running the make utility in the
samples/java
directory:[/samples/java]$ make x64=onWindows build procedure
Though Windows packages provide several solution files for C and C++ API samples, the Java samples are not built with Visual Studio. Instead a
compile.bat
file is provided in the\samples\java
directory to build all Java samples from a console window. Simply type the command:\samples\java\compile
Please use the following links to view instructions for running the individual samples in each group.
All Packages \java Java sample applications \java\tl Java Transaction Logging sample applications With eXtremeSQL \jdbc JDBC sample applications \java\sql Embedded Java SQL sample applications With High Availability \java\ha Java High Availability sample applications \java\cluster Java Cluster sample applications