This section provides basic information for writing, compiling, and executing applications that use ClusterJ.
Requirements. ClusterJ requires Java 1.5 or 1.6, and ClusterJ applications should run with MySQL Cluster NDB 7.0 and later. MySQL Cluster must be compiled with ClusterJ support; MySQL Cluster binaries supplied by Oracle include ClusterJ support beginning with MySQL Cluster NDB 7.0.12 and MySQL Cluster NDB 7.1.1. 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.
Beginning with MySQL Cluster NDB 7.1.2, to compile applications
that use ClusterJ, you need the
jar file in your classpath. To run applications that use ClusterJ,
you need the
clusterj runtime jar file; in
libndbclient must be in the directory
Section 220.127.116.11, “Executing ClusterJ Applications and Sessions”, provides more
information about these requirements.
The requirements for running ClusterJ applications were somewhat different in MySQL Cluster NDB 7.1.1; see Building and executing ClusterJ applications in MySQL Cluster NDB 7.1.1, if you are using this release.