How to set the PATH Environment variable with multiple homes?

I have several Oracle homes, and now I cannot get reports to work anymore. These are the things I installed, in this order:
- Oracle Database 10g
- Oracle Developer Suite 10g
- Oracle Discoverer 4
- Oracle HTMLDB
Now my PATH environment variable is flooded with paths, but none seem to work when I want to start Reports 10g. I deleted all of the paths from the other homes and still no luck.
This was my original PATH:
C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;
C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;
C:\oradev10g\jdk\jre\bin\classic;
C:\oradev10g\jdk\jre\bin;
C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin;
C:\oracle\product\10.1.0\compdb_1\bin;
C:\oracle\product\10.1.0\compdb_1\jre\1.1.8\bin;
C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin\client;
C:\Disco41Home\bin;C:\oracle\product\10.1.0\db_1\bin;
C:\oradev10g\jdk\jre\bin\client;C:\oradev10g\jlib;
C:\oradev10g\bin;
C:\oradev10g\jre\1.4.1\bin;
C:\oradev10g\jre\1.1.8\bin;
C:\PROGRAM FILES\THINKPAD\UTILITIES;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
C:\WINDOWS\Downloaded Program Files;
%SystemDrive%\IBMTOOLS\Python22;
C:\Program Files\PC-Doctor for Windows\services
and this is the PATH after I stripped it:
C:\oradev10g\jdk\jre\bin\classic;
C:\oradev10g\jdk\jre\bin;
C:\oradev10g\jdk\jre\bin\client;
C:\oradev10g\jre\1.1.8\bin;
C:\oradev10g\jlib;
C:\oradev10g\bin;
C:\PROGRAM FILES\THINKPAD\UTILITIES;
%SystemRoot%\system32;
%SystemRoot%;%SystemRoot%\System32\Wbem;
C:\WINDOWS\Downloaded Program Files;
%SystemDrive%\IBMTOOLS\Python22;
C:\Program Files\PC-Doctor for Windows\services
What am I supposed to change to get Reports to work again (i.e. do more than just show the splash screen)?
Forms and Designer work just fine....

Never mind I found my solution here:
Re: Oracle Developer hangs when starting...i'm desperate

Similar Messages

  • How to set the path variable on Windows ME?

    I want to get a friend of mine to start using java the only problem is that we both dont know how to set the path variable in Windows ME. I cant seem to find any instructions on it for ME. So if someone could please tell me how or give me a llnk to directions for Windows ME. Thanks.

    Refer to the Installation Instructions for the package that you installed - I believe #5 if the instructions has the information. A link to the instructions is at the page you installed from.

  • How to set the PATH in Terminal?

    As a newbie to Bash and the Terminal, in connection with installing a new version of Ruby and various add-ons, I have been messing around with changing the PATH via various methods I've found on the internet, and trying to add a new directory to my PATH. Unfortunately, I cannot figure out how to set the PATH correctly. Here is what I understand so far:
    1. Bash first looks to ".bash_profile" in the home directory for PATH settings.
    2. If none, Bash then looks to ".bash_login" for PATH settings.
    3. If none, Bash then looks to ".profile".
    4. If none, Bash then looks to a system file in "/etc/profile" for default PATH settings.
    5. For a new shell after login, Bash looks for a ".bashrc" file.
    I cannot find any of the above files (I have Finder set to show hidden files already). Somehow, following some instructions from the internet without really knowing what I was doing over the past week I have set my PATH as follows:
    /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/*****/src:/usr/X11/bin
    but I cannot find the file that is setting this PATH. I have tried creating a new ".bash_profile" shell file and putting it in various places such as "/bin" and "/usr/bin" but the file is not being read.
    * As a temporary workaround I tried using the command "source .bash_profile" upon login to set the PATH using the .bash_profile file that I created, but it does not work.
    * I am able to temporarily alter the path using the command "PATH=/usr/local/bin:$PATH" but this only lasts for an active shell; when I close out and reopen a new shell, it reverts to the default.
    So my questions are:
    Is it correct that there is a "/etc/profile" somewhere that is setting the default PATH? If so where is it? Should I alter it, or create a new ".bash_profile" somewhere to set the PATH? If not, where is my PATH being set? If I should create a new ".bash_profile", what exactly should go in it?
    Thanks in advance for any assistance.

    ... I created a new ".bash_profile" file directly under my home directory and it worked like a charm. Below is the content of the file:
    "PATH=/usr/local/bin:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/Users/******/Ruby:/Users/*******/src:/Users/******/Java Programs/"
    What are the "..."'s? Is that just you, or is the contents of the file actually inside of double quotes?
    is there an 'export PATH' also in the file? As in
    PATH=/usr/local/bin:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/Users/******/Ruby:/Users/*******/src:/Users/******/Java Programs/
    export PATH
    And did you either restart your Terminal session so your .bash_profile was read, or issue a 'source .bash_profile' command to execute the .bash_profile after your change?
    The only remaining problem is that from the home directory, I'm unable to directly run programs in the above-designated subdirectories (without first navigating to the subdirectory containing the file. Is there something wrong with the syntax or order of the directories I put in the path?
    For example: there is a file called "newprogram.rb" in the "Ruby" directory listed above. I should be able to execute it from the home directory using "ruby newprogram.rb" but it does not work. The same command works fine from within the "Ruby" directory.
    Does the 'ruby' command search PATH to find its scripts?
    Have you read the "man ruby" man page to see if it talks about PATH?
    A common Unix feature is that programs and scripts with the executable bit set, and are located in a PATH directory, will be run if you just type their names.
    For example, if the first line of newprogram.rb script starts with
    #!/usr/bin/ruby
    and if the script is executable
    chmod +x newprogram.rb
    And if it is in a directory in PATH, then just typing
    newprogram.rb
    should run your perl script using /usr/bin/ruby. If you want to use a different version of Ruby, then change the #! line so it point to your version of Ruby. Or if your version of Ruby is found earlier in PATH then the /usr/bin/ruby, you can use
    #!/usr/bin/env ruby
    as your script's first line which will search PATH for 'ruby' and use the first one it finds.
    Message was edited by: BobHarris

  • Multiple oracle homes on Windows and the "Path" environment variable

    Hi There,
    We have a windows 2003 database server that has few databases running oracle 10.2.0.3. We are installing oracle 11.2.0.1 on the box as well, and we were wondering, which binaries should come 1st in the path environment variable? and how does this effect the working oracle environment?
    Going to the oracle home selector and swapping the 2 oracle homes around will have the same effect on the windows path variable - which will treat the 1st oracle home to be the default home - are there any general rules reg. multiple oracle homes on a server and the default home?
    Should the earlier version of oracle always proceed the newer one (i.e. c:\oracle\product\10.2.0.3\bin;c:\oracle\product\11.2.0.1\bin) or should the newer oracle version comes 1st as newer oracle versions are usually backward compatible?
    Your thoughts are highly appreciated.
    Thanks

    That isn't going to happen.
    If you install 11.2 last it will appear in the PATH variable first
    If you don't want that you need to Oracle Home Selector utility in the Installer to change it.
    Obviously, as usual, all of this is documented.
    Sybrand Bakker
    Senior Oracle DBA

  • How to set new Tomcat Environment variable?

    I have an imported class used by my servlet that is supposed to look for an environment variable like "xxx.app.logdir". I'm having trouble setting it in Tomcat. I have tried the following (stopping and starting Tomcat with each change):
    1) In \conf\server.xml file, adding under <GlobalNamingResources> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Environment name="xxx.app.logdir" type="java.lang.String" value="C:\\Tomcat-4-1\\logs"/>2) In my app's web.xml file <env-entry>
      <env-entry-name>xxx.app.logdir</env-entry-name>
      <env-entry-value>C:\\Tomcat-4-1\\logs</env-entry-value>
      <env-entry-type>java.lang.String</env-entry-type>
    </env-entry> 3) In my \bin\startup.bat file
    set xxx.app.logdir=C:\\Tomcat-4-1\\
    4) On my PC's Environment variables.
    Nothing has worked. In my code I have the lines
    logMsg("System.getProperty('mmm.app.logdir')=" +
    System.getProperty("xxx.app.logdir"));
    logMsg("System.getProperty('simpleValue')=" +
    System.getProperty("simpleValue")); with the output :System.getProperty('xxx.app.logdir')=null
    System.getProperty('simpleValue')=null I've searched forums and the Tomcat docs, but no luck. Any ideas?

    I tried that as well, but maybe I didn't define my DefaultContect correctly. Do I need any other parameters? Couldn't find it in the Tomcat docs. <DefaultContext>
    <Environment name="matt" type="java.lang.String" value="value1" />
    </DefaultContext>My new code (I simplified the variable name for testing):
    System.out.println("System.getProperty('matt')=" + System.getProperty("matt"));
    System.out.println("System.getProperty('MATT')=" + System.getProperty("MATT"));Results:
    System.getProperty('matt')=null
    System.getProperty('MATT')=null

  • Powershell does not recognize the path environment variable

    Hi, I am running powershell in ws2012 r2 version and when i attempted to run executable whose path is defined in the env:path variable, it can not run. Here is the output. How do I make the path recognizable in powershell so I dont have to type full command.
    I hope and presume it is something very simple, but I am not able to find information regarding this online. Here is the output from dos prompt in which executable runs and loading of powershell after that executabe are no longer found:
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>signtool
    SignTool Error: A required parameter is missing.
    Usage: signtool <command> [options]
    Valid commands:
    sign       -- 
    Sign files using an embedded signature.
    timestamp  --  Timestamp previously-signed files.
    verify     --  Verify embedded or catalog signatures.
    catdb      -- 
    Modify a catalog database.
    remove     --  Reduce the size of an embedded signed file.
    For help on a specific command, enter "signtool <command> /?"
    C:\Windows\system32>powershell
    Windows PowerShell
    Copyright (C) 2013 Microsoft Corporation. All rights reserved.
    PS C:\Windows\system32> signtool
    signtool : The term 'signtool' is not recognized as the name of a cmdlet,
    function, script file, or operable program. Check the spelling of the name, or
    if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + signtool
    + ~~~~~~~~
    + CategoryInfo         
    : ObjectNotFound: (signtool:String) [], CommandNot
    FoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Windows\system32>

    Read this very carefully:
    Suggestion [3,General]:
    Thecommand signtool was
    notfound,but does exist
    inthe current location.
    Windows PowerShelldoes
    notload commands
    fromthe current l ocation
    by default.
    Ifyou trust thiscommand,instead type
    ".\signtool".
    See "get-help about_Command_Precedence"
    formore details.
    PS C:\program files (x86)\Windows
    Kits\8.1\bin\x64>
    .\signtool
    ¯\_(ツ)_/¯

  • How to set the size for Popup with contains a Region

    Hi,
    i use ADF 11g (JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) with ADF Faces as Frontend.
    I have a Region (with many content) in a popup. When I call the popup the size of the popup is very small.
    If i set explicit the width and height in px it works, but if I set the width and height in % it doesn't works.
            <af:popup id="p1">
              <af:dialog id="pw2" type="ok"
                         partialTriggers="t1:showBook">
                <af:region value="#{bindings.bookkeydata1.regionModel}" id="r1"
                           inlineStyle="width:850.0px; height:600px;"/>
              </af:dialog>
            </af:popup> It is possible to get the max. height and witdth from the browser-window in a Bean and set it dynamicly to the region?
    To set the size in px is not the best solution I think.
    kind regards
    Martin

    Hi,
    Try setting percentages using af:panelStretchLayout inside a popup.
    Thanks.

  • How to set the Selectonechoice Value associated with MethodAction

    Hi All,
    I am using Jdeveloper 11.1.1.5 and i have a two textbox on my page and one selectonechoice.I am fetching the values from the Master Table in the dropdown by sending the supplierVatId and SupplierPostCode and the base dataSource of the selectonechoice is my transaction table(InvoiceHeaderTable).
    My jspx page source is :-
    <af:inputText value="#{bindings.Suppostcode.inputValue}"
    binding="#{backingBeanScope.backing_parkSupplierId.it7}"
    id="it7">
    </af:inputText>
    <af:inputText value="#{bindings.Suppvatid.inputValue}"
    binding="#{backingBeanScope.backing_parkSupplierId.it8}"
    id="it8">
    <f:validator binding="#{bindings.Suppvatid.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:selectOneChoice value="#{bindings.supplierid.inputValue}"
    binding="#{GeneralManagedBean.suppid}"
    id="soc1">
    <f:selectItems value="#{bindings.supplierid.items}"
    binding="#{GeneralManagedBean.suppiditems}"
    id="si1"/>
    </af:selectOneChoice>
    and this is my pageDef code :-
    <attributeValues IterBinding="InvoiceheaderView1Iterator" id="Suppostcode">
    <AttrNames>
    <Item Value="Suppostcode"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="InvoiceheaderView1Iterator" id="Suppvatid">
    <AttrNames>
    <Item Value="Suppvatid"/>
    </AttrNames>
    </attributeValues>
    <methodAction id="getSupplierIdfromDB" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="getSupplierIdfromDB"
    IsViewObjectMethod="false" DataControl="SupplierDetailImpl"
    InstanceName="SupplierDetailImpl.dataProvider"
    ReturnName="data.SupplierDetailImpl.methodResults.getSupplierIdfromDB_SupplierDetailImpl_dataProvider_getSupplierIdfromDB_result">
    <NamedData NDName="supplierpostcode"
    NDValue="#{bindings.Suppostcode.inputValue}"
    NDType="java.lang.String"/>
    <NamedData NDName="suppliervatid"
    NDValue="#{bindings.Suppvatid.inputValue}"
    NDType="java.lang.String"/>
    </methodAction>
    <list IterBinding="InvoiceheaderView1Iterator" id="supplierid"
    DTSupportsMRU="true" StaticList="false"
    ListIter="getSupplierIdfromDBIterator">
    <AttrNames>
    <Item Value="Suppid"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="supplierid"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="supplierid"/>
    </ListDisplayAttrNames>
    </list>
    </bindings>
    And i have a button on the page called as "Clear DropDown".Now on click of Clear DropDown button  i need to clear the dropdown list and need to set a new value in the SupplierId selectonechoice.For the testing purpose it can be a static value like "Shah".
    I am trying to do like this but no help ..
    public String clearDropDown() {
    ValueExpression suppid1 = null;
    String id = "Shah";
    suppid1 =
    elFactory.createValueExpression(elContext, "#{bindings.supplierid.attributeValue}",
    Object.class);
    suppid1.setValue(elContext,id);
    AdfFacesContext.getCurrentInstance().addPartialTarget(suppid);
    AdfFacesContext.getCurrentInstance().addPartialTarget(suppiditems);
    return null;
    Please suggest!!!
    Regards,
    Shah

    While setting the value, it is giving me this warning in the logs :-
    *<FacesCtrlListBinding> <getInputValue> ADFv: Could not find selected item matching value Shah of type: java.lang.String in the list-of-values*.
    I know that the Shah is not present in the List but how do i clear the list and set the New Value which is "Shah".
    Please Suggest!!
    Regards,
    Shah

  • How to set up Open Directory Users with local home folders?

    Hi folks,
    i set up a Mac mini Server with the services DNS, DHCP, AFP and OpenDirectory running. Everything is working fine so far but i want my OpenDirectory Users to have their home folders locally on the clients harddisk. My Leopard clients are already bound to the directory but everytime i try to login the login window is shaking even when i use the Directory Administrator account. What am i doing wrong?
    Thanks.

    (Did you read my other reply? You need to make it a portable account for the caching of login credentials.)
    With network homes and portable account enabled on a machine you always run from the locally stored homefolder on that machine.
    This homefolder syncs with the server network home folder for that account.
    If either of these folders get corrupt or unintentionally altered files (permission problems) somehow, there is risk of losing files, syncing problems and more (can take long time to sync at login/out, during even without corruption - I prefer gigabit cable to WiFi for this for obvious reasons).
    You at least need to monitor storage space in both places. You don't want either to fill up the disk (worse on server because several users can have their folders corrupted at the same time). Working quota settings / account is probably a good thing.
    And you probably need to decide what is synced : all folders or just some (and when / how often).
    You either do this form the server (you decide) or let the user have some say or a mix of these two.
    You might want to leave out the user's personal files (music, movies and such) and also depending on emaIl client used, maybe not sync email if the client saves it like Entourage does it, in big ever changing database files. Might be better to just backup the mailserver if IMAP based.
    If a user puts other large files in their homefolder (often on the Desktop) they can fill up the server fast. DVD-projects anyone?
    Mixing different versions server/client might not work too good either.
    So having said that, when syncing works it can be really good and you can restore a machine/account fast with pretty recent data. You can if in a hurry even log in from another machine using the account network home folder, getting access to the synced folders/files.
    Using Time Machine it's a one way "sync" (more like "duplicate changed and new files" - which I like) and you have to manually set TM settings on the client for what is going to be backed up and when. I do atleast don't know how to do it from/on the server. This "less intervention by the server" can be a good thing but if your users don't "behave" you might want to be in the drivers seat "saving them from themselves".
    TM backups can grow fast and probably demands more user interaction when storage space is used up.
    As with all "backup" configurations you probably want some rotating media backup of both network homes and/or TM backups so you can do a restore. Of these two, network homes are the more important one to backup "further".

  • How often does the Apple TV sync with updated home sharing playlists?

    I am trying to use several Apple TV's at my business for content management throughout our campus.  I want to be able to have a playlist of pictures and videos that is easy to update.  Can anyone tell me how often the Apple TV syncs with the home sharing network for an updated playlist?  It would be very inconvenient if the only way was to do a reboot on every device each time content was updated.

    Welcome to the Apple community.
    I can't really say for sure how often the Apple TV updates its shared libraries.
    I do however know that once the Apple TV as completed playing something, it will sync with the shared library in order to update the play count. So I'd be reasonably sure that the shared library is updated at least once every time something is played.

  • How to set WPA and WPA2 security with multiple AEs

    Hi Everybody,
    I have purchased a second AE and with the help of Alan Summers was able to set them all up for multiple speakers use in iTunes. In order to make them run I had to downgrade security settings to 40-bit WEP which is not really satisfying. My Airport Admin. Utility was still 4.0, so I tried 4.2 which offers the use of WPA and WPA2 with multiple AEs. Upgraded to 4.2 and switched off security settings first. Both AE are recogniced and speakers of second AE also show up in iTunes but I cannot connect to them. Since it didn't work without security settings, I didn't even try with it and went back using 4.0. All other firmware is up-to-date:
    AirPort Express 6.3
    iTunes 6.0.2
    Intel(R) PRO/Wireless 2200BG Network Connection 9.0.3.0
    Any advice would deeply be appreciated!
    BTW - if it works, it's maybe the greatest sound experience I ever had. Music all over the place!!
    Best regards
    Roman

    Found it!!
    1) upgrade Airport Admin. Utility to 4.2
    2) set second AE as "remote base station" and not in "client mode" (that's the clue!!)
    3) follow instructions and type in MAC address of main base station
    4) choose a channel (doesn't matter which one, just has to be the same on both AEs)
    5) choose your personal WPA and WPA2 password (same on both AEs)
    6) restart both AEs
    7) enjoy the music all over the place!
    Best regards
    Roman

  • How to set the path for new version of  jdk 1.5.0

    hi
    i downloaded jdk 1.5.0 from sun website . i gave path like this C:\jdk1.5.0\bin; but showing error internal command doent reconiged.give me some instructions aboth this one with details.

    Read item #5 in the Installation Instructions for the file you downloaded.

  • How to set up One iTunes Library with Multiple Hard Drives

    Hello,
    I have a question about setting up a daisy chain of external storage hard drives for my itunes library and need some advice.  I have run out of room on my 4TB external storage.  I have an additional 4TB and a 2TB external storage (all are MyBooks) and trying to figure out how to separate out my itunes folder:  I would like to put the TV on one 4TB and the Movies and the other 4TB and the Music/Apps/etc on the 2TB.  Here are my questions
    1.) How to I point my iTunes to where I have moved them?  Just make and alias of the folder and put that back in the original folder?
    2.) How do I get the new iTunes downloads to go the correct folder to download so it does not set up a new library for downloading?  Can I set more that one location in my preference?  If so- how?
    I have looked in the forums and all the information is older and does not address this exact issue. 
    Set up:
    Mac mini hooked up to Vizio TV running Lion 10.7.2
          Processor 2.26 GHZ Intel Core Duo 2
         Memory 4GB ( do not really store anything on this one)
    MY Books
         1  2TB   Mac OS Extended (Journaled)
         2  4TB   Mac OS Extended (Journaled)
         1  1TB   Mac OS Extended (Journaled)-  this is for documents, etc
    All these are daisy chain with 800 Firewire to the Macmini and hooked to TV with HDMI.
    Any suggestions would be helpful.  I can not download anything else from iTunes until I get this resolved and it is a real bummer.
    Sara

    Here are three different methods >
    How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495
    This article > iOS: How to transfer or sync content to your computer, http://support.apple.com/kb/HT1296
    suggests using contacts groups.
    When syncing contacts, you can choose to sync all of your contacts or only selected groups.
    You can select a group of contacts to which all new contacts created on your iOS device will be added.
    You can set up groups in the Address Book application.
    If you are all going to use the same iTunes apps library, turn off "Automatically sync new apps" in the apps tab just below the list of apps.  Then you won't get new apps on your device unless you select them.

  • How to proces the record in Table with multiple threads using Pl/Sql & Java

    I have a table containing millions of records in it; and numbers of records also keep on increasing because of a high speed process populating this table.
    I want to process this table using multiple threads of java. But the condition is that each records should process only once by any of the thread. And after processing I need to delete that record from the table.
    Here is what I am thinking. I will put the code to process the records in PL/SQL procedure and call it by multiple threads of Java to make the processing concurrent.
    Java Thread.1 }
    Java Thread.2 }
    .....................} -------------> PL/SQL Procedure to process and delete Records ------> <<<Table >>>
    Java Thread.n }
    But the problem is how can I restrict a record not to pick by another thread while processing(So it should not processed multiple times) ?
    I am very much familiar with PL/SQL code. Only issue I am facing is How to fetch/process/delete the record only once.
    I can change the structure of table to add any new column if needed.
    Thanks in advance.
    Edited by: abhisheak123 on Aug 2, 2009 11:29 PM

    Check if you can use the bucket logic in your PLSQL code..
    By bucket I mean if you can make multiple buckets of your data to be processed so that each bucket contains the different rows and then call the PLSQL process in parallel.
    Lets say there is a column create_date and processed_flag in your table.
    Your PLSQL code should take 2 parameters start_date and end_date.
    Now if you want to process data say between 01-Jan to 06-Jan, a wrapper program should first create 6 buckets each of one day and then call PLSQL proc in parallel for these 6 different buckets.
    Regards
    Arun

  • How to set doDML precedence in VO with multiple EOs

    Hi All
    I' developing a web app using jdeveloper 11.1.1.3
    I have 3 EOs with have references each other
    I created a single VO using these 3 EOs
    when I excecute the Commit methos the doDML method in second EO will be called, But I want to get called in first EO's doDML
    Pls tell me how to do this
    Tx
    Padma

    Is the relationship between the EOs defined as composite?
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcentities.htm#sm0150

Maybe you are looking for