Setting the CLASSPATH

CLASSPATH is the location of the jConnect runtime classes and the jar files for JDK 1.6 or later. This section describes what you need in your CLASSPATH depending on which versions of JDK and jConnect you are using.

Using jConnect 7.0 with JDK 1.6.x and later

To use jConnect 7.0 with JDK versions 1.6.x and later, add the following path to the CLASSPATH environment variable:

$JDBC_HOME/classes/jconn4.jar

Running samples or TDS-tunnelling servlet

To run the samples or the TDS-tunnelling servlet, add the following to the CLASSPATH environment variable:

$JDBC_HOME/classes/jconn4.jar:$JDBC_HOME/classes

NoteSybase requires that you run JDK 1.6 or later with jConnect 7.0.

In addition, the CLASSPATH should include the location of any application classes you have defined.