PATH environment variable will exceed the OS length limit

==========================Error Description==============
Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
Expected Value
: 1023
Actual Value
: 1069
List of errors: 

PRVF-3929 : Adding the Oracle binary location to the PATH environment variable will exceed the OS length limit of [ "1023" ] for the variable on the node "CNF0123H5R" - Cause: The installer needs to update the PATH environment variable to include the value "%ORACLE_HOME%/bin;". However, doing so will cause PATH to exceed the maximum allowable length that this operating system allows. - Action: Ensure that the sum of the lengths of your current PATH environment variable and that of "%ORACLE_HOME%/bin;" does not exceed the operating system limit. Restart the installer after correcting the setting for environment variable. 

=============


This limitation is based on older Windows restrictions, where length of environmental variables was important. This limitation is still there in the Oracle installation.


Work around this:
  • Step 1: Copy the value of your 'path' variable to a text-editor (Ex.: notepad) and save this value as backup.
  • Step 2: Reduce the size of this path to less that 1023 characters. Remove path variables at the end. You will mostly not need any of them during the oracle installation. Keep those removed values in a separate text-file, because you need to add them again later!
  • Step 3: Start the oracle installation again.
  • Step 4: After Oracle installation: Add those removed path values again at the end of the path.

Popular posts from this blog

Shrink you container size up to 95%.

alma linux: dnf Module yaml error: Unexpected key in data