The Java Driver (JDriver)

The Java Driver, also known as JDriver, consists of a JAR file used with your Java application code.

To use JDriver:

1. Ensure that you installed the Java SE SDK (also commonly referred to as the JDK). You can download it from Oracle.
2. Define an environment variable JAVA_HOME that contains the location of the JDK.

Each of the Java examples in the examples directory of the GridServer SDK includes env, build, and run scripts. The examples demonstrate how to properly set classpaths and environment variables to run a Java application using JDriver.

To use the Driver, add the DSDriver.jar file and the config directory of the GridServer SDK to your classpath when running your application. Additionally, a DSDriverNoDeps.jar is included, which contains only DataSynapse classes and no third-party dependencies, allowing you to upgrade these dependencies if and when necessary.