HP Driver for JDBC User's Manual

32 Chapter4
Using the HP Driver for JDBC
Java Class Path
Java Class Path
Before the HP Driver for JDBC can be used, the Java class path must
be set to include the HP Driver for JDBC class files. Without this
setting, both the Java compiler and the Java Run Time Environment
will not be able to locate the HP Driver for JDBC. Please refer to your
JDK documentation for more explicit details as to how to set the Java
class path. In general, the Java class path must include the directory in
which the HP Driver for JDBC class files have been installed.
If the HP Driver for JDBC class files are installed in:
/opt/java/lib/com/hp/jdbc/allbase
then the Java class path must include the directory:
/opt/java/lib
In most cases, this would mean that the CLASSPATH environment
variable must be set to something resembling:
Example on the HP 9000
CLASSPATH=/opt/java/lib:.