This discussion is archived
12 Replies Latest reply: Jun 17, 2013 6:09 AM by mitto RSS

Oracle 11g R2 Environment variable: "PATH"

906011 Newbie
Currently Being Moderated
Hi,

During Oracle 11g R2 prerequisite checks, I got Environment variable: "PATH" failure. It seems to me the length of the environment variable exceeds the recommended length.
Any help will be appreciated.

Thanks in advance,

MJ
  • 1. Re: Oracle 11g R2 Environment variable: "PATH"
    906011 Newbie
    Currently Being Moderated
    Sorry for got to mention that I'm using Windows 7 64-bit machine.

    Regards,

    mj
  • 2. Re: Oracle 11g R2 Environment variable: "PATH"
    sb92075 Guru
    Currently Being Moderated
    user1107353 wrote:
    Hi,

    During Oracle 11g R2 prerequisite checks, I got Environment variable: "PATH" failure. It seems to me the length of the environment variable exceeds the recommended length.
    Any help will be appreciated.
    so shorten PATH, at least until after install completes

    which Windows Edition?
  • 3. Re: Oracle 11g R2 Environment variable: "PATH"
    BelMan Expert
    Currently Being Moderated
    Hi,

    Make the PATH variable to contain fewer characters before starting Oracle Installer and after the installation finish do return all the old values :)
  • 4. Re: Oracle 11g R2 Environment variable: "PATH"
    595149 Newbie
    Currently Being Moderated
    Hi,

    I had the same problem and the error messages said, the PATH variable is too long. But this wasn't the problem. The PATH variable was written Path. The solution was to change the name of the variable from Path to PATH. Seems, the installer check fails, if the variable name isn't written uppercase.

    Regards,

    Marc
  • 5. Re: Oracle 11g R2 Environment variable: "PATH"
    911588 Newbie
    Currently Being Moderated
    Good morning,
    I'm trying to sequence oracle 11g with APP-V and I'm getting this same error. I went to environment variables and tried to shorten the value of the PATH. but I still get an error saying environment variable exceeds the recommended length. I can ignore it but then I'm not able to sequence the application correctly. the oracle client 11g odbc driver won't appear. Could you please tell me another way to get rid of this error? I'm using a windows 7 64x machine.
    thank you in advance.
    regards
  • 6. Re: Oracle 11g R2 Environment variable: "PATH"
    sb92075 Guru
    Currently Being Moderated
    open Command Window & issue following OS command

    SET

    COPY results then PASTE all back here
  • 7. Re: Oracle 11g R2 Environment variable: "PATH"
    911588 Newbie
    Currently Being Moderated
    Thank you sb92075.
    these are the variables I get before opening app-v client:

    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\massamg\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=APPVMASSAMG1
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\massamg
    LOCALAPPDATA=C:\Users\massamg\AppData\Local
    LOGONSERVER=\\US0012ADCP
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
    \WindowsPowerShell\v1.0\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f0b
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\massamg\AppData\Local\Temp
    TMP=C:\Users\massamg\AppData\Local\Temp
    UATDATA=C:\Windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
    USERDNSDOMAIN=AMERICA.APCI.COM
    USERDOMAIN=AMERICA
    USERNAME=massamg
    USERPROFILE=C:\Users\massamg
    windir=C:\Windows
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log


    and these are the variables I get while app-v client is running:


    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\massamg\AppData\Roaming
    CLIENTNAME=US0039CPSP
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=APPVMASSAMG1
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\massamg
    LOCALAPPDATA=C:\Users\massamg\AppData\Local
    LOGONSERVER=\\US0012ADCP
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
    \WindowsPowerShell\v1.0\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f0b
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SESSIONNAME=RDP-Tcp#0
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\massamg\AppData\Local\Temp
    TMP=C:\Users\massamg\AppData\Local\Temp
    UATDATA=C:\Windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
    USERDNSDOMAIN=AMERICA.APCI.COM
    USERDOMAIN=AMERICA
    USERNAME=massamg
    USERPROFILE=C:\Users\massamg
    windir=C:\Windows
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

    I have already tried renaming Path to PATH and it didn't work.
    regards
  • 8. Re: Oracle 11g R2 Environment variable: "PATH"
    sb92075 Guru
    Currently Being Moderated
    908585 wrote:
    Good morning,
    I'm trying to sequence oracle 11g with APP-V
    What does "sequence oracle" mean?
    and I'm getting this same error.
    ERROR? What Error?
    I don't see any error.

    usually when Oracle is to be used, then %ORACLE_HOME%\bin folder is included in PATH
  • 9. Re: Oracle 11g R2 Environment variable: "PATH"
    911588 Newbie
    Currently Being Moderated
    thank you sb.
    when I say I'm sequencing oracle I mean I'm packaging it with microsoft APP-V client(application virtualization client)
    the error I get is the same one they mention in the beginning of this thread, path value exceeds the limit.
    I'll try to include that %ORACLE_HOME%\bin value in the path then.
    thanks a lot
  • 10. Re: Oracle 11g R2 Environment variable: "PATH"
    933400 Newbie
    Currently Being Moderated
    Hi,

    Has anyone found a solution to this issue as yet?

    I am attempting to sequence the runtime client for Oracle 11g R2 32 on Windows Server 2008 R2.

    The PATH check fails but if I ignore all errors and continue, all appears to install ok however, when I come to install (Professional Advantage's) JET the test database connection failes with the error:

    Connection Failed - Connot find OCI DELL: oci.dll

    Now I know that the dll does exist in the bin folder of the client install.

    I have tried the suggested work arounds given above.

    Any ideas guys?

    Please let me know if you need any more info.

    Edited by: 930397 on 26-Apr-2012 02:32
  • 11. Re: Oracle 11g R2 Environment variable: "PATH"
    943834 Newbie
    Currently Being Moderated
    I followed all of the above steps also, to no avail. One of my network guys told me to run the install program As Administrator. It worked perfectly after that.

    Good luck!

    Darren
  • 12. Re: Oracle 11g R2 Environment variable: "PATH"
    mitto Newbie
    Currently Being Moderated

    Hi MJ (hope not Michael Jackson   )

     

    Generally we see this error, when PATH variable  reaches it’s character limit of 1023.

    This issue can be resolved by editing PATH variable and removing unwanted characters/paths ( do not remove any system related paths which contain %SYSTEMROOT% etc.. )

    Navigation: My Computer –> right click –> properties –> Advanced –> Environment Variables –> Select PATH in system Variables. (in Win 7 (64) -> Control Panel >  System > Advanced System Settings > Advanced TAB click Environment Variables > Select PATH in System Variables) . Remove unwanted variables.

    Having done the above steps, press “Retry” button to continue with the installation.

    There you go.... as simple as it is..

     

    Regards

    Mitto M.

    iNum 883510009040178  (www.inum.net)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points