At IU, how do I install the Oracle Database 11g Release 2 client for 64-bit Windows?
Note: This document explains how to install the Oracle Database 11g Release 2 client for 64-bit Windows. For 32-bit Windows, see At IU, how do I install the Oracle 11g release 2 client for 32-bit Windows?
To install and configure the Oracle Database 11g Release 2 client for 64-bit Windows, see the appropriate section below.
On this page:
- Running Oracle client setup via direct download from Oracle's web site
- Running Oracle client setup from IUware
- Client installation process
- Configuring Oracle Net
- Adding new database services
- Connecting to Oracle with SQL*Plus
- Starting SQL Developer the first time
- Configuring and locating an ODBC data source
- Oracle client configuration information for the IU Data Warehouse
Running Oracle client setup via direct download from Oracle's web site
Note: To install Oracle components, you must be logged into the computer as an administrator. Also, the following method requires a valid Oracle Technology Network (OTN) username and password. If you do not have a valid OTN username and password, register for a free Oracle Web account.
If you do have a valid OTN username and password:
- Go to Oracle Database Software Downloads.
- Click
OTN License Agreement, read the license agreement, and then close the window.
- Select
Accept License Agreement. You will see a notification thanking you for accepting the OTN License Agreement, and permitting you to download the software.Note: You will need 609 MB of free space on your hard drive before downloading this file.
- Scroll down to
Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64). Clickwin64_11gR2_client.zipto download.You may be prompted to enter a valid OTN username and password. Once you have done so, you will see the
File Downloaddialog box. - Save the file
win64_11gR2_client.zipto your computer.
- Navigate to the file, right-click it, and then select
Extract all.
- Select or create a folder location (e.g.,
c:\Oracle11gR2 Client 64bit) for the extracted files, and perform the extraction.
- Once all zipped files have been extracted, navigate to the folder
you specified in the previous step.
- To launch the Oracle Client Installer, in the same folder, enter
the
clientdirectory, and then double-clicksetup.exe.If prompted, enter your Windows administrator username and password.
You may need to minimize application windows to see the installer window. Also, it might take a while for the installer window to appear.
You may also receive an
Open File - Security Warningdialog box. If you do, clickRun. - When you are ready to install the Oracle client, continue with Client installation process below.
Running Oracle client setup from IUware
Note: To install Oracle components, you must be logged into the computer as an administrator.
-
Download
Oracle Client 11g R2- 64-bit from IUware.
- If you are not logged into IUware, click
Log in to access downloads and product keys, and then log in with your IU Network ID. If you're already logged in, skip this step.
- Under "Downloads", click
Oracle11gR2Client64bit.exe.
- In the
File Download - Security Warningdialog box, clickSave, select a destination folder, and then clickSave.
- Once the download is complete, go to the destination folder, and
double-click
Oracle11gR2Client64bit.exeto begin the installation.
- By default, the IUware installer will install the necessary files
to
c:\IUware Online\Oracle11gR2 Client 64bit. To install files in a different folder, clickBrowse..., and then select a different folder. To continue, clickInstall.
- After the IUware installer extracts the necessary files
to the directory you specified, the Oracle Client
installation should start automatically. If it does not, go to the
folder you specified in the previous step, and then double-click
setup.exe. The Oracle Client Installer may take a few minutes to open.Note: You may need to move the IUware installer window and other open windows to see the
Oracle Client Installerwindow. - When you are ready to install the Oracle client, continue with Client installation process below.
Client installation process
To complete the client installation process, you need the following information:
-
System Identifier (SID) of the database:
oed1prd -
Full service name of the database:
oed1prd.world(recommended) - Port number: 1521
-
Hostname of computer where database is located:
dbserv.uits.indiana.edu
If you use the IU Data Warehouse, for configuration information, see Oracle client configuration information for the IU Data Warehouse below.
Note: This installation requires 705 MB of space. Also, if you have an Oracle Home environment variable set on your computer, remove it before starting the installation, or it will interfere with setting some paths for the installation.
After you have verified the information above with the database administrator:
- The Oracle Client Installer will load product information and
present you with the
Select Installation Typedialog box. Unless you want a different type of installation, selectCustom, and then clickNext.
- The
Select Product Languagesdialog box will appear withEnglishalready selected. To select other languages, click your preferred language in the box on the left, and then click>so the language appears in the box on the right. After selecting the languages, clickNext.
- In the
Specify Installation Locationdialog box, the installer will provide default file locations for you, but you can enter an alternate path in the available boxes, or clickBrowse...to navigate to alternate locations. The first file location is for anOracle Basedirectory for files related to configuration and software. Choose or create a directory (e.g.,c:\Oracle11gR2).The second file location is for the
Oracle Homedirectory for software files. The path should begin with your selectedOracle Basedirectory (e.g.,c:\Oracle11gR2\product\).11.2.0\client_1Note: Do not use an existing
Oracle Homedirectory. If an existingOracle Homedirectory is defaulted, choose a different location.When you are ready to continue, click
Next. - In the
Available Product Componentsdialog box, select the following components:
Oracle Java ClientSQL*PlusOracle JDBC/THIN InterfacesOracle Call Interface (OCI)Oracle NetOracle Programmer-
Oracle SQL Developer(optional) Oracle Connection ManagerOracle ODBC DriverOracle Objects for OLEOracle Provider for OLE DBOracle Data Provider for .NETOracle Providers for ASP.NET
Note: The SQL*Plus GUI application and SQL*Plus Worksheet are no longer available in Oracle 11g. If you don't want to use SQL*Plus from the command line, you should investigate SQL Developer as an alternative.
When you're finished, click
Next. - In the
Perform Prerequisite Checksdialog box, the installer will verify that your environment meets the minimum requirements for installing and configuring the products you have chosen.
- In the
Summarydialog box, verify the installation, and then clickFinish.The
Install Productdialog box will prepare, copy, and set up files, configure the installation, and then proceed to the next dialog box. - In the
Finishdialog box, you should see "The installation of Oracle Client was successful". ClickClose.
- To finish the installation, continue with Configuring Oracle Net below.
To configure the Oracle Net client at a later time, continue with Adding new database services when you are ready.
Configuring Oracle Net
Note: If you have TNS_ADMIN set in the variables on
your computer, and have a tnsnames.ora file at that
location, that file will be updated during the following configuration
instead of a tnsnames.ora file in your Oracle
Home network admin directory.
- In the
Oracle Net Configuration Assistant: Welcomedialog box, make sure thatPerform typical configurationis not selected, and then clickNext.Note: If you cannot see the
Oracle Net Configuration Assistant: Welcomedialog box, move theConfiguration Assistantsdialog box. - In the
Oracle Net Configuration Assistant: Naming Methods Configurationdialog box, make sure "Local Naming" is displayed in the "Selected Naming Methods" box, and then clickNext.
- Enter the service name, which is the database SID followed by an
extension (e.g.,
oed1prd.uits.indiana.edu), and then clickNext. If you do not know the service name, check with the database administrator.
- Select
TCP, and then clickNext.
- Enter the hostname (for
oed1prd, the hostname isdbserv.uits.indiana.edu). Unless otherwise specified, leave 1521 as the port number, and then clickNext.
- Select
Yes, perform test, and then clickNext.Note: If the login test fails, select
Change Login, enter your correct user information, and then try again. When the test is successful, clickNext. - For the name of the new Net service, UITS recommends using
oed1prd.world. Enter the name, and then clickNext.Note: Using a name without a domain (e.g.,
oed1prdinstead ofoed1prd.world) can cause connection problems. Alternatively, you may reuse the service name you entered in step 4 above (e.g.,oed1prd.uits.indiana.edu). - To configure another Net service name, select
Yes, and then follow steps 4 through 8 above. Otherwise, selectNo, and then clickNext.
- Once you have configured all your Net service names, click
Nexttwice, and then clickFinish.
- In the
Finishdialog box, you will see "The installation of Oracle Client was successful". ClickClose.
After following the steps above, you are finished setting up the Oracle client. You may want to continue to one of the following sections:
Adding new database services
Note: If you have TNS_ADMIN set in the
environment variables on your computer, and have a
tnsnames.ora file at that location, that file will be
updated during the following configuration instead of a
tnsnames.ora file in your Oracle Home
network admin directory.
To set up an Oracle client connection to an Oracle database on another computer:
- From the Windows
Startmenu, selectAll Programs, thenOracle - OraClient11g_home1, and thenConfiguration and Migration Tools. Then, clickNet Configuration Assistant.
- Select
Local Net Service Name Configuration, and then clickNext.
- Select
Add, and then clickNext.
- Enter the service name, which is the database SID followed by an
extension (e.g.,
oed1prd.uits.indiana.edu), and then clickNext. If you do not know the service name, check with the database administrator.
- Select
TCP, and then clickNext.
- Enter the hostname (for
oed1prd, the hostname isdbserv.uits.indiana.edu). Unless otherwise specified, leave 1521 as the port number, and then clickNext.
- Select
Yes, perform a test, and then clickNext.Note: If the login test fails, select
Change Login, enter your correct user information, and then try again. When the test is successful, clickNext. - For the name of the new Net service, UITS recommends using
oed1prd.world. Enter the name, and then clickNext.Note: Using a name without a domain (e.g.,
oed1prdinstead ofoed1prd.world) can cause connection problems. Alternatively, you may reuse the service name you entered in step 4 above (e.g.,oed1prd.uits.indiana.edu). - To configure another Net service name, select
Yes, and then follow steps 4 through 8 above. Otherwise, selectNo, and then clickNext.
- Once you have configured all of your Net service names, click
Next, and then clickFinish.
Connecting to Oracle with SQL*Plus
Note: The SQL*Plus GUI application and SQL*Plus Worksheet are no longer available in Oracle 11g. If you don't want to use SQL*Plus from the command line, you should investigate SQL Developer as an alternative.
To connect to Oracle with SQL*Plus:
- From the Windows
Startmenu, selectAll Programs, thenOracle - OraClient11g_home1, and thenApplication Development. Then, clickSQL*Plus.
- At the command prompt, enter your Oracle username followed by
@, and then the Net service name you configured for the database connection. Foroed1prd, this may beoed1prd.worldoroed1prd.uits.indiana.edu, so you would enterusername@oed1prd.worldorusername@oed1prd.uits.indiana.edu. ClickEnter.
- When prompted, enter your password, and then click
Enter.
After completing the steps above, you will be in the SQL*Plus command shell environment. If you would like to change your password, see How do I change my Oracle password using SQL*Plus?
Starting SQL Developer the first time
Note: The first time you open SQL
Developer, you must specify a path to the java executable file
(java.exe ).
- From the Windows
Startmenu, selectAll Programs, thenOracle - OraClient11g_home1, and thenApplication Development. Then, clickSQL Developer.
- In the
Oracle SQL Developerdialog box, you'll see "Enter the full pathname forjava.exe". ClickBrowse, and navigate tojava.exein thejdk\bindirectory in yourORACLE_HOMEdirectory (e.g.,c:\Oracle11gR2\product\).11.2.0\client_1\jdk\bin\java.exe
- After entering the path, click
OK. SQL Developer should start.
Configuring and locating an ODBC data source
Programs that use Open Database Connectivity (ODBC) to connect to remote databases must have a way to identify the type of database and the computer to which they are connecting. This is accomplished through an ODBC data source, which associates a name with some database connection information. With Oracle, the database connection information is the same as the name of the Oracle Net service you set up when configuring the Oracle client.
- From the Windows
Startmenu, clickAll Programs, thenOracle - OraClient11g_home1, thenConfiguration and Migration Tools, and thenMicrosoft ODBC Administrator.
- Enter a Windows administrator username and password.
- At the top of the
ODBC Data Source Administratorwindow, select theSystem DSNtab, and then clickAdd....
- From the list of drivers, select
Oracle in OraClient11g_home1, and then clickFinish.
- Enter your information in the window that appears, and then click
OK.The following example will create an Oracle ODBC data source for the
oed1prddatabase ondbserv.uits.indiana.edu:Field Explanation Example Data source name User-specified name by which you will refer to this ODBC data source oed1prd_oraDescription Not required; just a phrase reminding you why you created this ODBC data source Oracle ODBC for Oed1prd database on dbserv.uits.indiana.eduTNS Service name The Oracle Net service name you created for the database to which you want to connect oed1prd.worldoroed1prd.uits.indiana.eduUser name This is usually left blank; you will be prompted for this later when you make an ODBC connection to the database.
- The ODBC data source you added will now appear in your System DSN
list. Click
OKto finish your ODBC configuration.
Oracle client configuration information for the IU Data Warehouse
Note: The following information is only for IU Data Warehouse users.
You can use the following configuration information when configuring Oracle Net to connect to the IU Data Warehouse:
For Development (dss1dev)
- Database service name:
dss1dev.uits.indiana.edu - Host computer:
iedssdev.uits.indiana.edu - Port number: 1521 (default)
- Net service name:
dss1dev.uits.indiana.edu(This is also the service name when you create an ODBC data source.)
For Test (dss1tst)
- Database service name:
dss1tst.uits.indiana.edu - Host computer:
esdbd99.uits.iupui.edu - Port number: 1521 (default)
- Net service name:
dss1tst.uits.indiana.edu(This is also the service name when you create an ODBC data source.)
For Production (dss1prd)
- Database service name:
dss1prd.uits.indiana.edu - Host computer:
esdbd100.uits.indiana.edu - Port number: 1521 (default)
- Net service name:
dss1prd.uits.indiana.edu(This is also the service name when you create an ODBC data source.)
Last modified on February 19, 2013.







