skip to main content
Connection option descriptions : JVM Classpath
  

Try DataDirect Drivers Now

JVM Classpath

Attribute

JVMClassPath (jvmcp)

Purpose

Specifies the CLASSPATH for the Java Virtual Machine (JVM) used by the driver. The CLASSPATH is the search string the JVM uses to locate the Java jar files the driver needs.

Valid Values

string
where:
string
specifies the CLASSPATH. Separate multiple jar files by a semi-colon on Windows platforms and by a colon on Linux platforms. CLASSPATH values with multiple jar files must be enclosed in curly braces { } when used in a connection string.
If your process employs multiple drivers that use a JVM, the value of the JVM Classpath for all affected drivers must include an absolute path to all the jar files for drivers used in that process. In addition, the value specified must be identical for all drivers. For example if you are using the Dynamics 365 and MongoDB drivers on Windows, you would specify a value of {c:\install_dir\java\lib\dynamics365.jar; c:\install_dir\java\lib\mongodb.jar} for both drivers. If the value for any of the affected drivers is missing a file path or is different from the one specified for the other drivers, the drivers will return an error at connection that the JVM is already running.

Example

On Windows:
{.;c:\install_dir\java\lib\dynamics365.jar}
On Linux:
{.:/home/user1/install_dir/java/lib/dynamics365.jar}

Default Value

install_dir\java\lib\dynamics365.jar