How to set Oracle 11g as Primary Oracle Home

Hi All,
I've Windows 7 operating system & have Oracle 11g client ( enterprise edition), Oracle 10g XE and Oracle Developer Suite 10g. I want to know how can I set Oracle_11g_home as my primary oracle home.
Note: Currently, the home of Oracle Developer Suite 10g is my primary home as it gets invoked whenever I type sqlplus in the command prompt or tnsping my remote database from command prompt.
Regards,
MK

You have two options. Either edit your %PATH% environment variable and place the Path related to your 11g home first. Another option is to add an ORACLE_HOME environment variable that points to your 11g home.
Hope this helps!

Similar Messages

  • How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)

    How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
    The following is my configuration in the conf\mapViewerConfig.xml:
    <map_data_source name="mvdemo12"
    jdbc_host="127.0.0.1"
    jdbc_sid="orcl12c1"
    jdbc_port="1522"
    jdbc_user="mvdemo"
    jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    editable="true"/>
    <!--  ****  -->
    But it does not work.
    After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
    Does anyone know it?
    Thanks,

    For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
    //mypdb1.foo.com as described in the README,
    - MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
      <map_data_source name="myds"
        jdbc_host="foo.com"
        jdbc_sid="//mypdb1.foo.com"
        jdbc_port="1522"
      />
    For 11.1.1.7.0 use a container_ds instead.
    i.e. instead of using
    <map_data_source name="my_12c_test"
                       jdbc_host="mydbinstance"
                       jdbc_sid="pdborcl12c"
                       jdbc_port="1522"
                       jdbc_user="mytestuser"
                       jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
                       jdbc_mode="thin"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    use
      <map_data_source name="my_12c_test"
                       container_ds="jdbc/db12c"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
    Property
    url  jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
    Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
    Add a JDBC resource for that newly created pool
    Use that in mapviewerconfig.xml as above

  • How to set default print orientation in oracle reports 6i?

    Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?

    It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.

  • How to set forms 11g buttons to display icons

    Hi,
    How to set forms 11g buttons to display icons.Actually i have tried so many links
    http://blog.newtrics.com/?p=936
    Re: Icon image not showing in forms 11g RELEASE 2
    but i am not getting image on the Oracle Form.Bad Image is always showing.
    I am trying from 1 week So plz help me Its very urgent .
    Thanks
    Anup
    Edited by: 888679 on May 22, 2012 4:37 AM

    am afraid u r configuring the wrong file path pls verify....
    formsweb.cfg
    path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\conf
    registry entries as well
    Hope this helps...
    Regards,
    Amatu Allah
    Edited by: Amatu Allah on May 22, 2012 6:17 AM

  • Oracle 11g installation on Oracle Enterprise Linux, 64bit version.

    Hi
    I want to install oracle 11g on Oracle Enterprise Linux, 64bit version.
    Do I need to set kernel parameters in this operating system, since it is not standart Linux editions.
    or
    Can I have a step by step documentation for installing oracle 11g on this operating system?

    Hello,
    Yes you do need to set kernal parameters in order to meet pre-requisites, otherwise your installation will fail and oracle might not work or unstable.
    Here is the best place to find out stepwise installation instruction and kernel parameter configuration
    Quick Installation Guide*
    http://download.oracle.com/docs/cd/B28359_01/install.111/b32285/toc.htm
    Kernel parameter configuration*
    http://download.oracle.com/docs/cd/B28359_01/install.111/b32285/toc.htm#CEGFBCFD
    You can use this tutorial to install oracle 11g*
    http://www.oracle.com/technology/obe/11gr1_db/install/dbinst/dbinst.htm#o
    Regards

  • Installation problem oracle 11g R2 on oracle enterprise linux 5 update 5

    hello support,
    i've installation problems with oracle 11g R2 on oracle enterprise linux 5 update 5. In the section "ORACLE Net-Konfigurationsassisten" the failure "[INS-20802] Oracle NET-Konfigurationsassistent not success". What's wrong? I've followed the instructions on http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html
    I've heard the problem can occur with problems in /etc/hosts? My /etc/hosts is configured:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1          oracle localhost.localdomain localhost
    ::1          localhost6.localdomain6 localhost6
    is this ok? what can I do to bring the database-installation to success?
    Thank's for help ;-)
    Edited by: user5782904 on 09.05.2010 14:06

    Here I paste you the configuration of my latest linux box which has a similar environment like yours.
    # hostname
    vmrhel6032.quist.ch
    # domainname
    (none)
    # cat /etc/hosts
    192.168.1.205 vmrhel6032 vmrhel6032.quist.ch
    127.0.0.1     localhost  localhost.localdomain localhost4 localhost4.localdomain4
    ::1           localhost  localhost.localdomain localhost6 localhost6.localdomain6
    # cat /etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=vmrhel6032.quist.ch
    # cat /etc/sysconfig/network-scripts/ifcfg-eth0
    # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
    DEVICE=eth0
    HWADDR=00:0C:29:6A:98:70
    ONBOOT=yes
    NETWORK=192.168.1.0
    NETMASK=255.255.255.0
    IPADDR=192.168.1.205
    #Thanks to your post I noted that the hostname consist already of my domain entry. Try your configuration first without domain entry. It should look like:
    # hostname
    vmrhel6032
    # domainname
    (none)
    # cat /etc/hosts
    192.168.1.205 vmrhel6032
    127.0.0.1     localhost  localhost.localdomain localhost4 localhost4.localdomain4
    ::1           localhost  localhost.localdomain localhost6 localhost6.localdomain6
    # cat /etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=vmrhel6032
    # cat /etc/sysconfig/network-scripts/ifcfg-eth0
    # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
    DEVICE=eth0
    HWADDR=00:0C:29:6A:98:70
    ONBOOT=yes
    NETWORK=192.168.1.0
    NETMASK=255.255.255.0
    IPADDR=192.168.1.205
    #Otherwise use the first example and don't forget to restart your server resp. the network service. ;)

  • How to set security group as primary site collection admin and secondary site collection admin using powershell in sharepoint online site - office 365?

    How to set security group as primary site collection admin and secondary site collection admin using powershell in sharepoint online site - office 365?

    Hi,
    According to your description, my understanding is that you want to set security group as admin of primary and secondary site collection using PowerShell command in office 365.
    I suggest you can use the command below to set the group to site owner, then it will have the site collection admin permission.
    Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -Owner [email protected] -NoWait
    Here are some detailed articles for your reference:
    https://technet.microsoft.com/en-us/library/fp161394(v=office.15)
    http://blogs.realdolmen.com/experts/2013/08/16/managing-sharepoint-online-with-powershell/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Oracle 11g compatibility with oracle 10g and 9i?

    Hi All
    I have some queries on 11g compatibility.
    Is oracle 11g client compatible with oracle 10g client which is already installed on desktop?
    If yes any changes to be done and where?
    Is oracle 11g compatible with oracle 10g/9i on the same server where 10g/9i are installed?
    Regards

    Thanks Justin Thats right ...
    Problem elaboration is as follows
    We currently have an application which requires oracle 10g(10.2.0.3) client to connect to database from user desktops. As
    part of new application development the oracle 11g clients need to be installed on all the user deskotps.
    The complete application software along with oracle client 11g has to be roled out on these desktop as part of
    implementaion of new application besides the existing application(The application software is packaged along with oracle
    10g client).
    We would like to understand if there is any software provided by oracle using which we can switch between different oracle
    versions while accessing the respective applications simultaneously. Also are there any known bugs/issues in running
    oracle 10g client and oracle 11g client together on the same user desktops with different oracle homes?

  • Install Oracle 11g on windows 7 Home Premium?

    All,
    I'm trying to install Oracle 11g on windows 7 home premium edition? Is there any one installed successfully?

    >
    I'm trying to install Oracle 11g on windows 7 home premium edition? Is there any one installed successfully?
    >
    Do you have any specific issues with your installation? I don't see why you shouldn't be able to install Oracle 11g on Windows 7. Found a quick blog post for you:
    http://mgrvinod.wordpress.com/2011/05/23/oracle11g-r2-on-windows7-home-premium-64bit/

  • Oracle 11g installation on Oracle Linux 5.10

    Hi All,
    While installing Oracle 11g R2 in Oracle Linux 5.10 I am getting error : No such file or directory
    [info@localhost database]$ ls
    doc  install  response  rpm  runInstaller  sshsetup  stage  welcome.html
    [info@localhost database]$ ./runinstaller.sh
    bash: ./runinstaller.sh: No such file or directory
    [info@localhost database]$
    Please suggest.

    Hi,
    Make sure you extract both part in same directory, Do not separate it. Example for 11.2.0.3,
    As oracle user
    cd /tmp (Make sure your directory have enough space).
    unzip p10404530_112030_LINUX_1of7.zip
    unzip p10404530_112030_LINUX_2of7.zip
    Open the xmanager (xstart) or directly from the Gnome.
    1. Test if Display is ok by issue command xclock or xlogo
      $ xlogo
    2. Run the installer cd /tmp/database
         $ ./runInstaller
    11202
    p10098816_112020_LINUX_1of7.zip
    p10098816_112020_LINUX_2of7.zip
    11201
    linux_11gR2_database_1of2.zip
    linux_11gR2_database_2of2.zip
    Regards,
    Hafiz

  • Is there a way to upgrade JDK on oracle 11g without upgrading oracle?

    Hi,
    I want to have the latest version of JDK on my oracle 11g server. Is there a way to upgrade JDK on oracle 11g without upgrading oracle?
    My Oracle version is 11.2.0.3 and java version is 1.5.0_35. Want to upgarde to 1.6
    Thanks.
    Edited by: 945559 on Jul 10, 2012 11:42 AM

    945559 wrote:
    I want to have the latest version of JDK on my oracle 11g server. Is there a way to upgrade JDK on oracle 11g without upgrading oracle?Even if you upgraded Oracle it wouldn't be a new version.

  • How to Set Basic compression attribute through Oracle ILM

    Hi,
    I have log a SR with Oracle with regard to this but they redirect to this forum.
    We have configured Oracle ILM in our environment. We have a requirement that after 3 years the data to be moved to a Low Cost Storage. We tested the same through Oracle ILM and it works fine for the above scenario.
    We have another requirement that after moved to Low Cost Storage Tier through Oracle ILM we also want to compress the data.
    When we set the compressed attribute through Oracle ILM it alwasy generated the script
    like the one below
    alter table test_user.range_part
    move partition year4
    tablespace part3
    compress for all operations -----------------Oracle Advanced Compression--------------
    update indexes;
    But we want some thing like below through Oracle ILM
    alter table test_user.range_part
    move partition year4
    tablespace part3
    compress -------------------Basic Compression----------------
    update indexes;
    Can you please help us how to set the Basic compression attribute through Oracle ILM.
    Thanks and Regards
    Ganesan Sivaraman

    Oracle support referred you here?
    Please post the SR number here or send it to me by email for follow-up (damorgan12c (at) gmail.com).
    Thank you.

  • How to install  OBIEE 11g(already installed Oracle 11g)

    hi, i already installed oracle 11g DB on my system, shall i directly install OBI 11g on that or do i stil need to install l RCU..?
    please help me on this concern,

    Hi,
    1st you need to install RCU 1st then proceed (OBIEE 11g - simple/software/enterprise installation option).
    refer RCU DSN setup & config steps,
    http://gerardnico.com/wiki/dat/obiee/installation_11.1
    also further steps refer my blog,
    http://obieeelegant.blogspot.com/2012/07/obiee111160-software-only-installation.html
    Thanks
    Deva
    Edited by: Devarasu R on Feb 19, 2013 5:35 PM

  • Oracle 11g OMS: Database Instance Home Tab:  Page Refreshed Timezone Issue

    Hi all...I've searched the forums and search engines for specific information on this issue, but have not seen a viable solution so far. We have Oracle 11g Grid Control 11.1.0.1
    installed on a Solaris V490 using Solaris 10, with an Oracle 11.2.0.1 database.
    The Database instance Home tab for all 50+ databases shows the date and time of the 'Page Refreshed' in GMT. The OS and the Agent software both are configured
    with the TZ set to US/Eastern. All other page displays e.g. Performance, Availability for Data Guard Standby etc. all show the refreshed time in EDT, it is ONLY
    the Home tab for the instance that has the GMT format.
    I have not seen any threads or other information that describes specifically how to correct this or even to change it. There are many related posts about the Agent
    end.properties, the OS /etc/timezone configuration parameters, the TZ environment variable etc. but in my case they are all set properly.
    Does anyone have any additional ideas or suggestions or knowledge about how , or even whether, this can be resolved?
    Thanks!
    DPH

    sqlplus ... Connected to an idle instance.That means the database you're trying to connect with is offline, thus the:
    ORA-01034: ORACLE not availableNo big surprise there, instance (that you're trying to connect with) is offline.
    First, make sure the service OracleServiceXE for the database is running, see the services applet, Start/Run/services.msc and if it does not show "Started" hit the Start button with the OracleServiceXE selected.
    sqlplus sys/admin@XE as sysdbaThat connection attempt uses sqlnet to the XE tnsalias. If you're on the database host the ...@XE part is not needed, better to use:
    $ sqlplus /nolog
    connect /as sysdba;
    ... Connected. #if its running
    -- or use:
    $ sqlplus
    ... username: sys as sysdba
    ... password ...
    Connected.
    -- also try
    $ sqlplus system
    ... password: ....
    Connected.
    select name from v$database;
    ...That also assumes the environment/registry entries have been configured correctly.
    tnsping XE ... Attempting to contact [tnsalias connect details] ... OK (10 msec)That tells you the listener is running. It does not mean anything more than your listener is running at the host and port specified for your tnsalias are correct. It does not attempt an actual database connection. So if the database is offline but the listener is running a tnsping will not identify that particuler "problem".
    lsnrctl status ... Endpoints Summary ... PROTOCOL=tcp)(HOST=chilakamarthy)(PORT=1521)))...That bit of info also verifies the listener is running. Again, check your services.msc applet make sure the service shows Started.
    Edited by: clcarter on Jun 7, 2012 2:15 PM
    clarify tnsping

  • Oracle 11g upgrade from Oracle 10.2.0.4

    Dear  Friends,
    I am upgrading Oracle 11g on OS HP-UX11i v2 with SAP ECC6.0 application.
    But I m getting the error as below.
    Error in invoking target 'links proc gen_pcscfg' of makefile '/oracle/DVR/11202/precomp/lib/ins_precomp.mk'. See '/oracle/oraInventory/logs/installActions2011-08-09_05-51-08PM.log' for details.
    Please find the output of make.log file.
                     /usr/ccs/bin/ar rv /oracle/DVR/11202/lib/libn11.a /oracle/DVR/
    11202/lib/nnfgt.o ; fi)
            (if [ "compile" = "binary" ] ; then \
              /oracle/DVR/11202/bin/gennfgt > nnfgt.c
              TARGET_BINARY_INTERFACE=
              export TARGET_BINARY_INTERFACE
              cc +DD64 -c nnfgt.c
              -rm -f /oracle/DVR/11202/lib/nnfgt.o
              -mv nnfgt.o /oracle/DVR/11202/lib/
                      /usr/ccs/bin/ar rv /oracle/DVR/11202/lib/libn11.a /oracle/DVR/
    11202/lib/nnfgt.o ; fi)
    /usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle/DVR/11202
    /       /oracle/DVR/11202/bin/genclntsh
    genclntsh: Failed to link libclntsh.so.11.1
    Error exit code 1
    Stop.
    /usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle/DVR/11202
    /       /oracle/DVR/11202/bin/genclntsh
    genclntsh: Failed to link libclntsh.so.11.1
    Error exit code 1
    Stop.
    /usr/ccs/bin/make -f ins_precomp.mk links proc gen_pcscfg ORACLE_HOME=/oracle/DV
    R/11202/        (cd /oracle/DVR/11202/precomp/public/; rm -f SQLCA.H)
            (cd /oracle/DVR/11202/precomp/public/; rm -f ORACA.H)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SQLDA.H)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SQLCA.COB)
            (cd /oracle/DVR/11202/precomp/public/; rm -f ORACA.COB)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SQLCA.FOR)
            (cd /oracle/DVR/11202/precomp/public/; rm -f ORACA.FOR)
            (cd /oracle/DVR/11202/precomp/public/; rm -f BNDDSC.FOR)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SELDSC.FOR)
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlca.h    || ln -s sqlc
    a.h    SQLCA.H
            cd /oracle/DVR/11202/precomp/public/; test ! -f oraca.h    || ln -s orac
    a.h    ORACA.H
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlda.h    || ln -s sqld
    a.h    SQLDA.H
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlca.cob  || ln -s sqlc
    a.cob  SQLCA.COB
            cd /oracle/DVR/11202/precomp/public/; test ! -f oraca.cob  || ln -s orac
    a.cob  ORACA.COB
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlca.for  || ln -s sqlc
    a.for  SQLCA.FOR
            cd /oracle/DVR/11202/precomp/public/; test ! -f oraca.for  || ln -s orac
    a.for  ORACA.FOR
            cd /oracle/DVR/11202/precomp/public/; test ! -f bnddsc.for || ln -s bndd
    sc.for BNDDSC.FOR
            cd /oracle/DVR/11202/precomp/public/; test ! -f seldsc.for || ln -s seld
    sc.for SELDSC.FOR
            /usr/ccs/bin/make -f /oracle/DVR/11202/precomp/lib/ins_precomp.mk relink
    EXENAME=proc
    Linking /oracle/DVR/11202/precomp/lib/proc
    ld: Can't find library for -lclntsh
    Fatal error.
    Error exit code 1
    Stop.
    Error exit code 1
    Stop.
    Regards
    Ganesh Datt Tiwari

    HP-UX 11.23 is not supported with Oracle 11, you need 11.31:
    Note 1431796 - Oracle 11.2.0: Troubleshooting the Software Installation
    <...>
    Installing Oracle Database 11.2.0.2 on HP-UX 11.23 (11i V2)
    is not supported (see Oracle Installation Guide).
    Minimum OS version is 11.31 (11i V3).
    <...>
    Markus

Maybe you are looking for

  • N97 mini - blank/unresponsive home screen & nokia ...

    I have been having problems with my Nokia N97 mini.  It froze yesterday, and I removed and re-installed the battery to restart the phone.  When the phone came back on, the email widget had changed from Nokia email to the messaging email option (the o

  • PS CS5 - Working with Variables | The Complete Picture with Julieanne Kost | Adobe TV

    In this episode of The Complete Picture, Julieanne demonstrates the incredible power of Variables in Photoshop. Learn how to cut hours of time out of your production time when you need to combine text and photographs. Although this feature has been i

  • Third Party Drivers needed!

    Sometimes I hate upgrading my OS, because of all the things that stop working after EVERY upgrade. I have been using Macs since '84 and Mac OS 4.1, and every time I upgrade, some hardware and software stop working after the upgrade. Sometimes it is m

  • How to lodge a complaint for bad Apple store experience

    Hi I had the worst experience of the lifetime with Apple store in Castle Hill Tower Sydney on 23/4/15. The Manager on duty (Mr Steve who refused to give his last name or employee number)  was very arrogant and gave very insulting treatment. When I as

  • E-Recruiting Candidate (NA) E-Mails

    Hello, How can I get a list of all candidate emails in E-Recruiting? Thanks! Ryan