The SAP Sybase jConnect driver is installed into a set of directories under the jConnect subdirectory of your SAP Sybase IQ installation. If you have not installed jConnect, you can use the jdbcdrv.zip file installed into the Java subdirectory.
For your application to use jConnect, the jConnect classes must be in your CLASSPATH environment variable at compile time and run time, so the Java compiler and Java runtime can locate the necessary files.
For example, the following command adds the jConnect driver class path to an existing CLASSPATH environment variable where path is your SAP Sybase IQ installation directory.
set classpath=%classpath%;path\jConnect\classes
The following alternative command adds the jdbcdrv.zip file to your CLASSPATH.
set classpath=%classpath%;path\java\jdbcdrv.zip