MacLochlainns Weblog

Michael McLaughlin's Technical Blog

Site Admin

Oracle 11g XE Install

with 56 comments

Here’s the Oracle Database 11g Express Edition step-by-step installation. I did the installation on Window 7 64-bit, and did run into a problem with the Windows Registry on a fresh installation (posted earlier on the blog).

When you download the software from Oracle, you’ll need an account and you’ll need to accept the license agreement.

  1. You’re prompted to accept the license agreement and can’t proceed without doing it.

  1. After accepting the license agreement you can download the software.

  1. Unlike, the Oracle 10g XE MSI file, you’ve downloaded a compressed ( file, and you’ll need to explode the zip file and write it to a directory. When you write it to a directory, it looks like the following and you double click on the setup.msi file.

It’s recommended that you right click on the setup.msi program and run it as the Administrator. If you’ve not disabled Microsoft User Access Controls (UAC), I’d do that first.

  1. After launching the setup.msi file, you see the Install Shield wizard screen while the file loads, like this:

After launching the setup.msi file, and loading the MSI file, you see the first dialog box of the installation. Click the Next button to start the installation.

  1. The second dialog box is the license for the installation. Click the I accept the terms in the license agreement. radio button and then the Next button.

  1. The third dialog box lets you accept the default location or provide an override location. If you accept the default location, click the Next button to continue.

  1. The fourth dialog box lets you specify the TNS, MTS, and HTTP Ports. The default values are shown in the following screen shot but I’ve change my TNS port to 1621, which you’ll see later. Click the Next button to continue.

  1. The fifth dialog box lets you enter the password for the SYS and SYSTEM users. You must enter it twice and naturally they must match each other. Click the Next button to continue.

  1. The sixth dialog box lets you see the configuration options you’ve chosen. Note that this installation is using a TNS port of 1621 rather than the default of 1521. Click the Next button to continue.

  1. The seventh dialog box lets you see the progress bar, take a break it can run for two or three minutes. Click the Next button to continue.

  1. The last dialog box lets you see that you’ve installed the product. Click the Finish button to complete the installation.

You’ve now installed Oracle Database 11g Express Edition. You can start the command line by typing sqlplus system/password in command shell or the Get Started option in your Program Menus, as shown below.

You should see this console when you launch Get Started or manually type http://localhost:8080/apex. There’s more to the web page but I scrunched it to fit into the blog. Alas, space is always at a premium.

Hope this helps folks.

Written by maclochlainn

September 13th, 2011 at 11:06 am

56 Responses to 'Oracle 11g XE Install'

Subscribe to comments with RSS or TrackBack to 'Oracle 11g XE Install'.

  1. […] posted Step-by-step Installation Instructions […]

  2. this did help me a lot,thank u dude


    26 Oct 11 at 4:49 am

  3. Hi There,
    When i run SQLPLUS from command prompt i get below error massege.

    SQL*Plus: Release Production on Sun Jan 1 17:59:49 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter user-name: system/********
    ORA-12560: TNS:protocol adapter error

    Any idea why this error is occuring


    1 Jan 12 at 11:04 am

  4. The ORA-12560 error is often thrown for the same reasons as the TNS-03505 error. Something isn’t resolving at the TCP/IP mapping layer. Try this:

    tnsping xe

    Check your tnsnames.ora entry, and determine if its IP address or hostname. If you’ve not given your machine a hostname entry in the following file, it may be localhost or an IP address:


    Check this post for the settings that should be in that file, lines 1-3 for a DHCP connection. Also, if you have an IP value, is it the current value of your machine? You can use ipconfig at the command line to find your current IP address.


    1 Jan 12 at 6:17 pm

  5. Hi, is there a x64 express version ? I couldn’t find on their page,so anyone knowing whether installing the 32 bit express version on a 64 bit machine is safe ? Or is the bulky enterprise version more suitable for that ? Thanks in advance.


    8 Feb 12 at 11:58 pm

  6. Last time I checked, there wasn’t one. Here’s the problem I encountered when installing it.


    9 Feb 12 at 12:05 am

  7. Hi, For each and every unexpected behaviour/error see the installation logs at C:\oraclexe\app\oracle\product\11.2.0\server\config\log. It will tell what went wrongs during installation.

    In my case, it shows some thing related to windows events are full. I cleared all the events, de-install oracle and re-install. Everything is perfect.


    3 Jul 12 at 8:12 pm

  8. Hi Mac,
    Thanks for this great article, I already finished my installation… and everything it seems alright… but when I try to go to, it’s shown Unable to connect message .. how can I fix this issue?

    Thank’s alot..


    24 Aug 12 at 12:33 am

  9. Hey Mac,
    I’m trying to install Oracle Database XE 11g release 2 on a Windows 7 x64 PC. i’m having the following problems:

    1. Error Message: Installer is unable to instantiate the file.
    2. During installation step 7. didnot occur.
    3. shows “Internet cannot display the page” message.

    Now, I followed your other post where you have explained the changing of Data value in the registry key.. but i think that didn’t work causing the 3rd problem. and isn’t IP address of localhost at port 8080?


    Vivek Yadav

    25 Aug 12 at 5:50 am

  10. Make sure your hosts file matches the Machine Name and description and use the Perl scripts to verify the ability to resolve the hostname and localhost.


    25 Aug 12 at 7:57 am

  11. HI,
    First of all thanks a lot for your this kind of information sharing and its working nicely with my laptop with 64 -bit windows.


    5 Sep 12 at 10:28 am

  12. What happens if i didn’t install it as the administrator?

    Yuta Lolap

    12 Sep 12 at 8:20 am

  13. Did you perform the installation as a user with Administrator privileges? If so, you will need to fix several privileges to ensure access to files or you need to disable UAC.


    12 Sep 12 at 10:23 am

  14. Thanks for this. It was spot on and got me through the 11g installation w/o hiccups.

    Windows 7 64 bit


    16 Sep 12 at 5:06 am

  15. I install Oracle11g XE in my Windows7, and when try to start it. But the below error occurs.

    Windows cannot find Make sure you typed the name correctly, and then try again.

    please help.

    thanking you advance.


    5 Oct 12 at 5:46 am

  16. The installation failed to resolve the network and didn’t install/configure APEX.


    5 Oct 12 at 7:54 am

  17. How to resolve the above the issue


    16 Oct 12 at 12:38 pm

  18. You can manually uninstall and install APEX 4.0. Alternatively, you can re-install the product.


    16 Oct 12 at 10:51 pm

  19. Ok


    22 Oct 12 at 2:53 pm

  20. im not getting 4th window(ports)while i run setup file


    17 Nov 12 at 5:15 am

  21. Curious! Did the installation succeed? Did you already have an instance previously configured?


    17 Nov 12 at 12:06 pm

  22. Great blog Michael! I have the problem of not being able to connect! I’m installing on a notebook with Windows 7 Home Premium 64 bit. I’ve installed and uninstalled the Loopback Adapters! So I can not insert it into a domain to be described in the hosts file. I’m now following the doc, but I fear by the domain question in the hosts file (Example: IP_address hostname.domainname hostname)!
    Sandro (Brazil)

    Sandro Costa

    1 Dec 12 at 2:08 pm

  23. As a rule, you should install on Windows 7 Professional or Ultimate because Home editions lack networking components. The Home edition is a client machine, whereas the Professional and Ultimate are workstations. Infrequently, folks get it to work on Windows 7 Home Edition due to variations between how OEM software packaging selects components for the install.


    2 Dec 12 at 1:34 pm

  24. Hi
    i need to build application on 11g express and need to
    access schema from my remote database 10g how can i
    any idea because we i create database application i need to select schema from my remote database 10g not from the local 11g express


    7 Dec 12 at 10:22 am

  25. You can do that with DB_LINKs unless you’re working with LOB transfers. LOBs require a Java intermediary, which is often Hibernate.


    7 Dec 12 at 4:48 pm

  26. Would someone have succeeded to install correctly on windows 8 64-bits pro the Oracle Xe version 11.2.0? and to connect to http://localhost:8080/apex/f?p=4950 ???
    How to do?


    24 Jan 13 at 7:47 am

  27. Yes, I’ve installed it several times but not once without a registry error. The error occurs in different keys but the pattern of fixing it is the same. You need to determine what’s wrong with the registry key while leaving the Oracle installer in stasis (paused) while you fix it. If you precede without fixing it, it causes multiple failures in the Windows’ registry.


    24 Jan 13 at 8:47 am

  28. hi,

    I have instal oracle 11g XE in windows 7 ultimate 32-bit.But i have problem to connect in run sql command line

    pls help me to start db

    thanks in advance

    have a nice day


    26 Jan 13 at 4:59 am

  29. “Internet cannot display the page” message after express is installed for days. I had the same problem and kept clicking on the server icon, but the same error kept showing. The fix is:

    1. Go to My Computer and search on C drive for “Start”.
    2. When you find a shortcut named “Start Database” drag that to your desk top and click on it.
    3. You will see the database start up in 2-4 minutes.
    4. Now you must click on the server icon as before and there will be no error.

    NOTE I HAVE SEEN MANY FIXES FOR THIS PROBLEM THAT I Tried and they did not work.


    9 Feb 13 at 10:11 am

  30. Thanks.It helped :)…..

    Earlier i was geeting error in instantiating file .then i tried editing the registry using regedit command.

    It worked.


    18 Feb 13 at 5:34 am

  31. hi frnds i’m using windows 8 professional os and i’m unable to install oraclexe112_32version its showing error help me guys.while installing it’s not showing the fourth dialog box any answers..


    24 Jun 13 at 9:23 pm

  32. Need Help, not able to install Oracle on my laptop Lenovo Core I5 Intel.

    Using paramFile: C:\Users\Chretien\Downloads\Compressed\Oracle\database\install\oraparam.ini

    Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed

    The commandline for unzip:

    C:\Users\Chretien\Downloads\Compressed\Oracle\database\install\unzip -qqqo ..\stage\Components\oracle.jdk\\1\DataFiles/"*.jar" -d "C:\Users\Chretien\AppData\Local\Temp\OraInstall2013-07-27_09-40-28PM" INFO: Loading data from: jar:file:/C:/Users/Chretien/AppData/Local/Temp/OraInstall2013-07-27_09-40-28PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Loading beanstore from jar:file:/C:/Users/Chretien/AppData/Local/Temp/OraInstall2013-07-27_09-40-28PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/C:/Users/Chretien/AppData/Local/Temp/OraInstall2013-07-27_09-40-28PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Verifying target environment...
    INFO: Checking whether the IP address of the localhost could be determined...
    SEVERE: CVU do not support target environment..
    Refer associated stacktrace #oracle.install.driver.oui.OUISetupDriver:13
    INFO: Completed verification of target environment.
    WARNING: Verification of target environment returned with errors.
    WARNING: [WARNING] [INS-13001] Environment does not meet minimum requirements.
       CAUSE: Minimum requirements were not met for this environment
       ACTION: Either check the logs for more information or check the supported configurations for this product..
    Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:16
    INFO: Advice is WITHDRAW
    WARNING: Advised to shutdown the installer due to target environment verification errors.
    INFO: Adding ExitStatus PREREQ_FAILURE to the exit status set
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -3
    INFO: Shutdown Oracle Database 11g Release 2 Installer


    27 Jul 13 at 3:09 pm

  33. I’ve installed it on many I5’s and Lenovo laptops. Can you provide more information about your machine?


    28 Jul 13 at 11:12 am

  34. Hello Maclochlainn,

    My lenovo is
    Model Number: 20150



    30 Jul 13 at 5:56 am

  35. That’s not what I need. How much disk space is available, how much memory is available, and whether you’ve disabled UAC.


    1 Aug 13 at 11:26 pm

  36. I’ve installed 11gXE on Win 7 64 bit. I can connect to the Get Started page, but I cannot login to the database. I keep getting an invalid credentials error message. I have the password for system correct because I am able to login using the command line sqlplus. Is there a security setting in IE that is stopping me? I installed XE as the Administrator.
    Thanks in advance.


    27 Sep 13 at 10:15 am

  37. Hi, successfully installed. Now on the login page, what do we enter in the workspace?


    30 Sep 13 at 11:12 am

  38. Jim, It could be your browser? Check this other post of mine for browser instructions.


    30 Sep 13 at 11:06 pm

  39. Nadir,

    I wrote this post on sorting the Workspace out. Hope it helps.



    30 Sep 13 at 11:11 pm

  40. Thank you Michael. It helped. Nice post.


    1 Oct 13 at 10:22 am

  41. […] it started my browser looking for […]

  42. I install Oracle11g XE in my Windows7, and when try to start it. But the below error occurs.

    Windows cannot find Make sure you typed the name correctly, and then try again.

    please help.

    Shikha Tripathi

    30 Dec 14 at 5:03 am

  43. The %HTTPPORT% should be set by the installation. It may mean that the default port of 8080 wasn’t catpured when you installed the product or that your firewall blocked the installation. The correct URL is http://localhost:8080/apex/apex_admin for Oracle Database 11g. I blogged about it here.

    You’re probably better off with the Oracle 11gR2 post too.


    1 Jan 15 at 7:12 pm

  44. Hello!
    Please can anyoune help me with this issue:


    Thank you!!

    Kind regards,


    3 Apr 15 at 11:26 am

  45. Ildar, I’d like to know the version of Windows, and whether or not you installed it with a clean Windows registry. Was this your first attempt to install Oracle Database 11g XE on this instance, or was there an earlier attempt to install it? The only time I’ve seen something like this is when there was a previous partial or failed installation of the product.


    4 Apr 15 at 3:31 pm

  46. Hi,

    Thanks for this post!


    16 Jun 15 at 10:21 pm

  47. Hi

    Thank you for the nice post, but may I get your more assistance as i have a remote oracle Database which we are using to query a lot of tables using SQL developer and create reports. Now what i seek is how can I access those data using Apex oracle XE side, and how i can connect, i have DB server IP (host name), port number and SID.

    Please your help



    16 Jul 15 at 8:23 am

  48. Godlove, you need to create database link to your external database from the SQL*Plus prompt inside the schema where you’ve built your Oracle APEX solution. Then, you can query anything but a LOB across the DB Link.


    21 Jul 15 at 8:09 pm

  49. I have Glassfish running on port 8080
    I tried to use different HTTP port for oracle while installation. But it says PORT IN USE for every port I use. Can you please let me know how to fix it


    1 Aug 15 at 1:56 am

  50. Vinod, You run this as the system user:

    -- This resets the default port.
    EXECUTE dbms_xdb.SETHTTPPORT(8181);


    10 Aug 15 at 9:24 pm

  51. hi,

    I have instal oracle 11g XE in windows 7 ultimate 32-bit.But i have problem to connect in run sql command line

    pls help me to start db

    thanks in advance

    have a nice day


    4 Oct 15 at 12:17 pm

  52. Preethi, Install could mean many things from what you’ve written. Did you install the database and configure a sample database? Or, did the install fail during database configuration? You need to provide more detail before I can help you because I don’t know what’s worked or what’s failed from your statement.


    5 Oct 15 at 8:42 pm

  53. Hi Maclochlainn,

    Is it possible to install express edition of oracle on windows 10 ? And what about windows 8 too?

    Please help

    Thanks in advance


    15 Nov 15 at 4:51 pm

  54. Hi Maclochlainn,

    Is it possible to install express edition on windows 10? And what about windows 8?

    Please help



    17 Nov 15 at 2:58 pm

  55. Yes, it is.


    20 Nov 15 at 11:27 pm

  56. I haven’t tried to install it. I would assume that it should. Did you encounter a problem?


    20 Nov 15 at 11:29 pm

Leave a Reply