6.2.1 Installing Oracle Database Instant Client on Windows

Instructions for installing Oracle Database Instant Client on Windows.

To Install Oracle Instant Client on Windows:

  1. Create an installation directory for the OML4R client components. For example:

    c:\oml4rclient_install_dir
    
  2. Go to the Oracle Database Instant Client website.

  3. In the Get Oracle Instant Client section, select Downloads.

  4. On the Oracle Instant Client Downloads page, select Instant Client for Microsoft Windows (x64).

  5. Choose Instant Client Package - Basic for your version of Oracle Database.

  6. Save the file in the installation directory that you created in Step 1. For example:

    c:\oml4rclient_install_dir\instantclient-basic-windows.x64-21.3.0.0.0.zip
  7. Unzip the file. The files are extracted into a subdirectory called instantclient_version, where version is your version of Oracle Database. For example:

    c:\oml4rclient_install_dir\instantclient_21_3
  8. Return to the Instant Client Downloads for Microsoft Windows (x64) page.

  9. Accept the license agreement and select Instant Client Package - SDK for your version of Oracle Database.

  10. Save the file in the installation directory that you created in Step 1.

    c:\oml4rclient_install_dir\instantclient-sdk-windows.x64-21.3.0.0.0.zip
  11. Unzip the file. The files are extracted into the instantclient_version subdirectory.

  12. Add the full path of the Instant Client to the environment variables OCI_LIB64 and PATH. The following steps set the variables to the path used in this example, c:\myoml4rclient\instantclient_21_3:

    1. In Windows Control Panel, choose System, then click Advanced system settings.

    2. On the Advanced tab, click Environment Variables.

    3. Under System variables, create OCI_LIB64 if it does not already exist. Set the value of OCI_LIB64 to c:\oml4rclient\instantclient_21_3.

    4. Under System variables, edit PATH to include c:\oml4rclient\instantclient_21_3.