Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

Setting the Classpath

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

The JDBC Client must be defined in your CLASSPATH variable. The CLASSPATH is the search string your Java Virtual Machine (JVM) uses to locate the JDBC driver on your computer. If it is not defined on your CLASSPATH, you will receive a "class not found" error when trying to load the JDBC Client. Set your system CLASSPATH to include the following entry, where oajc.jar is the JDBC Client jar file and installdir is the path to your JDBC Client installation directory:

   installdir\driver\lib\oajc.jar;

Windows Example

   CLASSPATH=driver\lib\oajc.jar;

UNIX Example

   CLASSPATH=.:/home/user1/oajdbc810/driver/lib/oajc.jar
   Export CLASSPATH

TitleResults for “How to create a CRG?”Also Available inAlert