Home | Previous Page | Next Page   Getting Started >

Using the Driver in an Application

To use IBM Informix JDBC Driver in an application, you must set your CLASSPATH environment variable to point to the driver files. The CLASSPATH environment variable tells the Java virtual machine (JVM) and other applications where to find the Java class libraries used in a Java program.

UNIX Only

There are two ways to set your CLASSPATH environment variable:

End of UNIX Only
Windows 2000 Only

There are two ways to set your CLASSPATH environment variable:

End of Windows 2000 Only
Note:
If you are using javax.sql classes (for example, Datasource), specify ifxjdbcx.jar in addition to ifxjdbc.jar.

For more information on the jar utility, refer to the Java documentation at http://java.sun.com.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]