Configuration of the CLASSPATH environment variable is required as part of the runtime environment for JDBC drivers.
The name of the JDBC driver file is as follows:
If using JDK 6 or JRE 6
postgresql-jdbc4.jar
If using JDK 7, JRE 7, JDK 8, or JRE 8
postgresql-jdbc41.jar
The examples below show how to set the CLASSPATH environment variable if JDK 6 or JRE 6 is used.
If JDK 7, JRE 7, JDK 8, or JRE 8 is used, only the name of the JDBC driver file will be different. The method for configuring the CLASSPATH environment variable is the same.
Linux (32-bit)
Setting example (TC shell)
setenv CLASSPATH /opt/symfoclient32/jdbc/lib/postgresql-jdbc4.jar:${CLASSPATH}
Setting example (bash)
CLASSPATH=/opt/symfoclient32/jdbc/lib/postgresql-jdbc4.jar:$CLASSPATH;export CLASSPATH
Linux (64-bit)
Setting example (TC shell)
setenv CLASSPATH /opt/symfoclient64/jdbc/lib/postgresql-jdbc4.jar:${CLASSPATH}
Setting example (bash)
CLASSPATH=/opt/symfoclient64/jdbc/lib/postgresql-jdbc4.jar:$CLASSPATH;export CLASSPATH
Windows (32-bit)
Setting example
set CLASSPATH=C:\Program Files\Fujitsu\symfoclient32\JDBC\lib\postgresql-jdbc4.jar;%CLASSPATH%
Windows (64-bit)
Setting example (when Symfoware Server Client 32-bit is installed)
set CLASSPATH=C:\Program Files (x86)\Fujitsu\symfoclient32\JDBC\lib\postgresql-jdbc4.jar;%CLASSPATH%
Setting example (when Symfoware Server Client 64-bit is installed)
set CLASSPATH=C:\Program Files\Fujitsu\symfoclient64\JDBC\lib\postgresql-jdbc4.jar;%CLASSPATH%