The environment variable settings required for SQLJ operation are shown below. Since SQLJ uses the JDBC driver, environment settings for the JDBC driver must also be specified.
Set the following information in the environment variables for the execution environment.
CLASSPATH=$CLASSPATH:[installation-directory]/pdsqlj.jar*
CLASSPATH=$CLASSPATH:[installation-directory]/pdruntime.jar1
CLASSPATH=$CLASSPATH:[installation-directory]/pdnativert.jar2
In sequence, choose Control Panel, System, System Properties, and Environment, and then set the contents shown below.
CLASSPATH=%CLASSPATH%;[installation-directory]\pdsqlj.jar
CLASSPATH=%CLASSPATH%;[installation-directory]\pdruntime.jar
CLASSPATH=%CLASSPATH%;[installation-directory]\pdnativert.jar