Product Documentation

FairCom JDBC Developer's Guide

Previous Topic

Next Topic

Setting Environment Variables

Whether the JDBC Driver class files reside locally or on network-served disks, you must set the CLASSPATH environment variable to point to the class files.

On both Windows and Unix the CLASSPATH environment variable must point to the jar file ctreeJDBC.jar.

With Windows, you can set the CLASSPATH environment variable at the Windows command prompt, as in the following example:

set CLASSPATH=%CLASSPATH%;

.;

c:\<jdk_version>\jre\lib\rt.jar;

c:\FairCom\V10.0.0\win32\lib\sql.jdbc\ctreeJDBC.jar

(For environment variables to persist across different processes, set them using the Windows Control Panel’s System utility, and set them as system variables.)

Also, make sure the PATH environment variable includes the appropriate Java compiler directory. Example syntax could be as follows:

PATH=%PATH%;

c:\<jdk_version>\bin;

c:\<jdk_version>\jre\bin\classic

(Again, for the environment variables to persist across different processes, set them using the Windows Control Panel’s System utility, and set them as system variables.)

TOCIndex