Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.3Mb
PDF (A4) - 5.3Mb
EPUB - 2.3Mb
HTML Download (TGZ) - 2.2Mb
HTML Download (Zip) - 2.3Mb

4.2.2 Using ClusterJ

This section provides basic information for writing, compiling, and executing applications that use ClusterJ. For the API documentation for ClusterJ, see Section 4.3, “ClusterJ API Reference”.

Requirements.  ClusterJ requires Java 1.5 or 1.6. MySQL Cluster must be compiled with ClusterJ support; MySQL Cluster binaries supplied by Oracle include ClusterJ support. If you are building MySQL Cluster from source, see Building and installing MySQL Cluster Connector for Java from source, for information on configuring the build to enable ClusterJ support.

To compile applications that use ClusterJ, you need the clusterj-api jar file in your classpath. To run applications that use ClusterJ, you need the clusterj runtime jar file; in addition, libndbclient must be in the directory specified by java.library.path. Section, “Executing ClusterJ Applications and Sessions”, provides more information about these requirements.

User Comments
Sign Up Login You must be logged in to post a comment.