At IU, how do I download and install the Oracle Database 11g Release 2 client for 64-bit Windows?

The following instructions are for 64-bit Windows. For 32-bit Windows instructions, see At IU, how do I download and install the Oracle Database 11g Release 2 client for 32-bit Windows?

On this page:


Downloading Oracle Database 11g Release 2 for 64-bit Windows

Note:
Oracle 11g Release 2 is not compatible with Windows 10. Windows 10 users should download the Oracle 12.1 client instead. Scroll down to "Oracle Database Client (12.1.0.2.0) for Microsoft Windows (64-bit)" and click winx64_12102_client.zip to download the 64-bit Oracle 12.1 client.

At Indiana University, to download the Oracle Database 11g Release 2 client for 64-bit Windows, use either of the following methods:

For either download method, you must be logged into your computer as an administrator. (Normally, you should refrain from running your Windows computer as an administrator; see What is the principle of least privilege?)

Downloading the client directly from Oracle's website

To download the client Oracle Database client directly from Oracle's website:

  1. Go to Oracle Database 11g Release 2 for Microsoft Windows (x64).
  2. Click OTN License Agreement, read the license agreement, and then close the window.
  3. Select Accept License Agreement. You will see a notification thanking you for accepting the OTN License Agreement, and permitting you to download the software.
  4. Under "Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64)", click win64_11gR2_client.zip to download the client. This file requires 609 MB of free space on your hard drive.

    You may be prompted to enter a valid OTN username and password. Once you have done so, you will see the "File Download" dialog box. If you do not have an OTN username and password, see the instructions for getting one above.

  5. Save the win64_11gR2_client.zip file.
  6. In Windows, navigate to the file, right-click it, and then select Extract all.
  7. Select or create a destination folder for the extracted files, and then perform the extraction.
  8. To launch the Oracle Client Installer, go to the destination folder, open the client directory, and then double-click setup.exe.

    At this point:

    • Windows may prompt you for an administrator username and password. Enter an administrator username and password to proceed.
    • Windows may prompt you with an "Open File - Security Warning" dialog box. Click Run to proceed.

    It may take a minute for the "Oracle Client Installer" window to appear. To see it, you may need to minimize any other application windows that are open.

When you are ready to install the Oracle client, follow the instructions in the next section.

Downloading the client from IUware

To download the Oracle Database client from IUware:

  1. Go to Oracle Client 11g R2 64-bit.
  2. Click Log in for access. If prompted, enter your IU Network ID username and passphrase, and then click LOGIN.
  3. Under "DOWNLOADS", click Oracle11gR2Client64bit.exe. This file requires 609 MB of free space on your hard drive.
  4. In the "File Download - Security Warning" dialog box, click Save, select a destination folder, and then click Save.
  5. To open the IUware installer, go to the destination folder, and then double-click Oracle11gR2Client64bit.exe.
  6. By default, the IUware installer will create a c:\IUware Online\Oracle11gR2 Client 64bit directory for installing the necessary files. To save the files to a different folder, click Browse, and then find and select the desired folder. To continue, click Install.
  7. The Oracle Database Client installation should start automatically after the IUware installer finishes extracting files to the specified folder. If it does not, go to that folder, and then double-click setup.exe.

    It may take a minute for the "Oracle Client Installer" window to appear. To see it, you may need to minimize any other application windows that are open.

When you are ready to install the Oracle client, follow the instructions in the next section.

Installing the Oracle client

This installation requires 705 MB of space.

Note:
If you have an Oracle Home environment variable set on your computer, remove it before starting the installation; it interferes with setting some paths for the installation.
  1. The Oracle client installer will display the "Select Installation Type" dialog box. Unless you want a different type of installation, select Custom, and then click Next.
  2. The "Select Product Languages" dialog box will appear with English already selected. To select a different language, in the box on the left, click your preferred language, and then click > so the language appears in the box on the right. After selecting the language, click Next.
  3. In the "Specify Installation Location" dialog box, the installer provides default file locations for you, but you can enter alternative paths in the available boxes, or click Browse to navigate to alternative locations.
    • The first file location is for the Oracle Base directory (for files related to configuration and software). Choose or create a directory (e.g., c:\Oracle11gR2).
    • The second file location is for the Oracle Home directory (for software files). You should place this directory within your selected Oracle Base directory (e.g., c:\Oracle11gR2\product\11.2.0\client_1).

    Do not use an existing Oracle Home directory. If the installer defaults to an existing Oracle Home, choose a different location.

    To continue, click Next.

  4. In the "Available Product Components" dialog box, select the following components:
    • Oracle Java Client
    • SQL*Plus
    • Oracle JDBC/THIN Interfaces
    • Oracle Call Interface (OCI)
    • Oracle Net
    • Oracle Programmer
    • Oracle SQL Developer (optional)
    • Oracle Connection Manager
    • Oracle ODBC Driver
    • Oracle Objects for OLE
    • Oracle Provider for OLE DB
    • Oracle Data Provider for .NET
    • Oracle Providers for ASP.NET

    To continue, click Next.

    Note:
    The SQL*Plus GUI application and SQL*Plus Worksheet are no longer available in Oracle 11g. SQL*Plus is now just a command shell tool. You may want to investigate SQL Developer as an alternative.
  5. In the "Perform Prerequisite Checks" dialog box, the installer verifies whether your environment meets the minimum requirements for installing and configuring the products you selected. Fix any flagged items before proceeding. If the check is successful, the installation automatically proceeds to the next dialog box.
  6. Verify the installation information in the "Summary" dialog box, and then click Finish.
  7. The "Install Product" dialog box will prepare, copy, and set up files, and configure the installation. It will proceed to the next dialog box.
  8. The "Finish" dialog box should show the message "The installation of Oracle Client was successful". Click Close.
  9. To finish the installation, follow the instructions for Configuring Oracle Net below. If you choose to configure the Oracle Net client at a later time, use the instructions in Adding new database services at that time.

Configuring Oracle Net

To configure Oracle Net, you will need to know the System Identifier (SID) of the database to which you are connecting, the full service name of the database, the port number, and the hostname of the computer hosting the database:

  • 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:
If you have the TNS_ADMIN environment variable set on your computer, and have a tnsnames.ora file stored there, following these instructions will update that file instead of the tnsnames.ora file in your Oracle Home network administrator directory.
  1. If you cannot see the "Oracle Net Configuration Assistant: Welcome" dialog box, move the "Configuration Assistants" dialog box.
  2. In the "Oracle Net Configuration Assistant: Welcome" dialog box, make sure Perform typical configuration is not selected, and then click Next.
  3. In the "Oracle Net Configuration Assistant: Naming Methods Configuration" dialog box, make sure the "Selected Naming Methods" box has Local Naming, and then click Next.
  4. Enter the full service name, which is the database SID followed by an extension (e.g., oed1prd.uits.indiana.edu), and then click Next. If you do not know the full service name, check with the database administrator.
  5. Select TCP, and then click Next.
  6. Enter the hostname (for oed1prd, the hostname is dbserv.uits.indiana.edu). Unless otherwise specified, leave 1521 as the port number, and then click Next.
  7. Select Yes, perform test, and then click Next.

    If the login test fails, select Change Login, enter your user information, and then try again.

    When the test is successful, click Next.

  8. UITS recommends using oed1prd.world for the name of the new net service. Enter the name, and then click Next.
    Note:
    Entering a service name without a domain (e.g., oed1prd instead of oed1prd.world) can cause connection problems. You may reuse the service name you entered in step 4 above (e.g., oed1prd.uits.indiana.edu).
  9. If you want to configure another net service name, select Yes, and then repeat steps 4 through 8 above. Otherwise, select No, and then click Next.
  10. Once you have configured all your net service names, click Next twice, and then click Finish.
  11. In the "Finish" dialog box, you will see "The installation of Oracle Client was successful". Click Close.

After following these steps, you are finished setting up the Oracle client. You may want to continue with one of the following sections:

Adding new database services

Note:
If you have the TNS_ADMIN variable set on your computer, and have a tnsnames.ora file stored there, following these instructions will update that file instead of the tnsnames.ora file in your Oracle Home network administrator directory.

To configure your Oracle client to connect to an Oracle database on a remote computer:

  1. From the Start menu, select All Programs > Oracle - OraClient11g_home1 > Configuration and Migration Tools > Net Configuration Assistant.
  2. Select Local Net Service Name Configuration, and then click Next.
  3. Select Add, and then click Next.
  4. Enter the service name, which is the database SID followed by an extension (e.g., oed1prd.uits.indiana.edu), and then click Next. If you do not know the service name, check with the database administrator.
  5. Select TCP, and then click Next.
  6. Enter the hostname (for oed1prd, the hostname is dbserv.uits.indiana.edu). Unless otherwise specified, leave 1521 as the port number, and then click Next.
  7. Select Yes, perform a test, and then click Next.

    If the login test fails, select Change Login, enter your user information, and then try again.

    When the test is successful, click Next.

  8. UITS recommends using oed1prd.world for the name of the new net service. Enter the name, and then click Next.
    Note:
    Entering a service name without a domain (e.g., oed1prd instead of oed1prd.world) can cause connection problems. You may reuse the service name you entered in step 4 above (e.g., oed1prd.uits.indiana.edu).
  9. If you want to configure another net service name, select Yes, and then repeat steps 4 through 8 above. Otherwise, select No, and then click Next.
  10. Once you have configured all of your net service names, click Next, and then click Finish.

Connecting to Oracle with SQL*Plus

Note:
The SQL*Plus graphical application and SQL*Plus Worksheet are no longer available in Oracle 11g.

To connect to Oracle with SQL*Plus:

  1. From the Start menu, select All Programs > Oracle - OraClient11g_home1 > Application Development > SQL*Plus.
  2. At the command prompt, enter your Oracle username followed by @ and the net service name you configured for the database connection (e.g., username@oed1prd.world or username@oed1prd.uits.indiana.edu).
  3. Click Enter. When prompted, enter your password, and then click Enter again.

After you've completed these steps, 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

The first time you open SQL Developer, you must specify the path to the Java executable file (java.exe). After connecting the first time, you will no longer need to set the path to java.exe.

To specify the path to java.exe:

  1. From the Start menu, select All Programs > Oracle - OraClient11g_home1 > Application Development > SQL Developer.
  2. The "Oracle SQL Developer" dialog box will prompt you to enter the full pathname for java.exe. Click Browse to find the file.

    The executable is most likely in your ORACLE_HOME directory in the jdk\bin subdirectory; for example:

      c:\Oracle11gR2\product\11.2.0\client_1\jdk\bin\java.exe
    
  3. When you find the path to the file, 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 host to which they are connecting. This is managed with an ODBC data source that associates a name with its database connection information. For Oracle, the database connection information is the name of the Oracle Net service you specified when you configured the Oracle client.

  1. From the Start menu, click All Programs > Oracle - OraClient11g_home1 > Configuration and Migration Tools > Microsoft ODBC Administrator.
  2. Enter a Windows administrator username and password.
  3. At the top of the "ODBC Data Source Administrator" window, select System DSN, and then click Add.
  4. From the list of drivers, select Oracle in OraClient11g_home1, and then click Finish.
  5. In the window that appears, enter your information, and then click OK.

    For example, to create an Oracle ODBC data source for the oed1prd database on dbserv.uits.indiana.edu:

    Field Explanation Example
    Data source name
    User-specified name by which you will refer to this ODBC data source
    oed1prd_ora
    Description
    Not required; just a phrase reminding you why you created this ODBC data source
    Oracle ODBC for Oed1prd DB on dbserv.uits.indiana.edu
    TNS Service name
    The Oracle Net service name you created for the database to which you want to connect
    oed1prd.world or oed1prd.uits.indiana.edu
    Username
    Leave blank; you will be prompted for your username when you make an ODBC connection to the database.
     
  6. The ODBC data source you added will now appear in your System DSN list. Click OK to finish your ODBC configuration.

Oracle client configuration information for the IU Data Warehouse

Note:
The following information is intended for IU Data Warehouse users only.

Use the following configuration information when configuring Oracle Net to connect to the IU Data Warehouse:

  • Development (dss1dev):
    • Database service name: dss1dev.uits.indiana.edu
    • Hostname: iedssdev.uits.indiana.edu
    • Port: 1521 (default)
    • Net service name: dss1dev.uits.indiana.edu
  • Test (dss1tst):
    • Database service name: dss1tst.uits.indiana.edu
    • Hostname: esdbd99.uits.iupui.edu
    • Port: 1521 (default)
    • Net service name: dss1tst.uits.indiana.edu
  • Production (dss1prd):
    • Database service name: dss1prd.uits.indiana.edu
    • Hostname: esdbd100.uits.indiana.edu
    • Port: 1521 (default)
    • Net service name: dss1prd.uits.indiana.edu

Getting help

If you need help connecting to your Oracle database, email the High Performance Systems group.

This is document azoc in the Knowledge Base.
Last modified on 2016-01-04.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.