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:
-
Create an installation directory for the OML4R client components. For example:
c:\oml4rclient_install_dir
-
Go to the Oracle Database Instant Client website.
-
In the Get Oracle Instant Client section, select Downloads.
-
On the Oracle Instant Client Downloads page, select Instant Client for Microsoft Windows (x64).
-
Choose Instant Client Package - Basic for your version of Oracle Database.
-
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
-
Unzip the file. The files are extracted into a subdirectory called
instantclient_
version
, whereversion
is your version of Oracle Database. For example:c:\oml4rclient_install_dir\instantclient_21_3
-
Return to the Instant Client Downloads for Microsoft Windows (x64) page.
-
Accept the license agreement and select Instant Client Package - SDK for your version of Oracle Database.
-
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
-
Unzip the file. The files are extracted into the
instantclient_
version
subdirectory. -
Add the full path of the Instant Client to the environment variables
OCI_LIB64
andPATH
. The following steps set the variables to the path used in this example,c:\myoml4rclient\instantclient_21_3
:-
In Windows Control Panel, choose System, then click Advanced system settings.
-
On the Advanced tab, click Environment Variables.
-
Under System variables, create
OCI_LIB64
if it does not already exist. Set the value ofOCI_LIB64
toc:\oml4rclient\instantclient_21_3
. -
Under System variables, edit
PATH
to includec:\oml4rclient\instantclient_21_3
.
-
Parent topic: Install Oracle Database Instant Client