INFORMIX
Informix JDBC Driver Programmer's Guide
Chapter 1: Getting Started
Contents Index

Installing the Driver

Informix JDBC Driver is released as a Java class file called setup.class.

There are two ways to install the driver: interactively with a Setup program or silently at the command line. The following sections describe the two ways for both UNIX and Windows.

Interactive Installation

This section describes how to interactively install Informix JDBC Driver with the Setup program.

UNIX

To interactively install Informix JDBC Driver on UNIX

    1. If you are installing Informix JDBC Driver from a CD, load the disc into the CD-ROM drive.

    If you are downloading the driver from the Web, download the setup.class file into a temporary directory.

    2. Be sure your CLASSPATH environment variable points to Version 1.1.5 or later of the Java Development Kit (JDK).

    3. At the UNIX shell prompt, create a directory to hold the contents of the driver.

    For example, to create the directory /work/jdbcdriver_home, execute the following command:

    4. Change directory to either the CD-ROM drive, if you are installing from a CD, or the temporary directory that contains the downloaded setup.class file, if you are downloading the driver from the Web.

    5. Launch the Setup program with the java command at the UNIX shell prompt:

    6. The Setup program guides you through the installation of Informix JDBC Driver.

    After the Welcome window, the program asks you for your serial number and key. It then asks you to accept a licensing agreement. The program then asks you for the name of the directory that will hold the contents of the driver. In our example, this directory is called /work/jdbcdriver_home and was created in Step 3 of these instructions.

Windows

To interactively install Informix JDBC Driver on Windows

    1. If you are installing Informix JDBC Driver from a CD, load the disc into the CD-ROM drive.

    If you are downloading the driver from the Web, download the setup.class file into a temporary directory.

    2. Be sure your CLASSPATH environment variable points to Version 1.1.5 or later of the Java Development Kit (JDK).

    3. Using Windows Explorer, create a directory to hold the contents of the driver.

    Assume, for this example, that the new directory is called c:\work\jdbcdriver_home.

    4. Change directory to either the CD-ROM drive, if you are installing from a CD, or the temporary directory that contains the downloaded setup.class file, if you are downloading the driver from the Web.

    5. Launch the Setup program with the java command at the Windows command prompt:

    6. The Setup program guides you through the installation of Informix JDBC Driver.

    After the Welcome window, the program asks you for your serial number and key. It then asks you to accept a licensing agreement. The program then asks you for the name of the directory that will hold the contents of the driver. In our example, this directory is called c:\work\dbcdriver_home and was created in Step 3 of these instructions.

Silent Installation

This section describes how to silently install Informix JDBC Driver from the UNIX shell prompt or Windows command line.

UNIX

To silently install Informix JDBC Driver on UNIX

    1. If you are installing Informix JDBC Driver from a CD, load the disc into the CD-ROM drive.

    If you are downloading the driver from the Web, download the setup.class file into a temporary directory.

    2. Be sure your CLASSPATH environment variable points to Version 1.1.5 or later of the Java Development Kit (JDK).

    3. At the UNIX shell prompt, create a directory to hold the contents of the driver.

    For example, to create the directory /work/jdbcdriver_home, execute the following command:

    4. Change directory to either the CD-ROM drive, if you are installing from a CD, or the temporary directory that contains the downloaded setup.class file, if you are downloading the driver from the Web.

    5. Execute the following command at the UNIX shell prompt:

    where directory refers to the directory that will hold the contents of the driver (created in Step 3 of these instructions) and serial_no and key refer to the installation serial number and key.

    If the specified directory already contains Informix JDBC Driver files, the command asks you if you want to overwrite them.

Windows

To silently install Informix JDBC Driver on Windows

    1. If you are installing Informix JDBC Driver from a CD, load the disc into the CD-ROM drive.

    If you are downloading the driver from the Web, download the setup.class file into a temporary directory.

    2. Be sure your CLASSPATH environment variable points to Version 1.1.5 or later of the Java Development Kit (JDK).

    3. Using Windows Explorer, create a directory to hold the contents of the driver.

    Assume, for this example, that the new directory is called c:\work\jdbcdriver_home.

    4. Change directory to either the CD-ROM drive, if you are installing from a CD, or the temporary directory that contains the downloaded setup.class file, if you are downloading the driver from the Web.

    5. Execute the following command at the Windows command prompt:

    where directory refers to the directory that will hold the contents of the driver (created in Step 3 of these instructions) and serial_no and key refer to the installation serial number and key.

    If the directory already contains Informix JDBC Driver files, the command asks you if you want to overwrite them.




Informix JDBC Driver Programmer's Guide, Version 1.22
Copyright © 1998, Informix Software, Inc. All rights reserved.