Error: "INST-07004: Oracle home location contains one or more invalid characters" When Installing Weblogic
(Doc ID 2145347.1)
Last updated on OCTOBER 02, 2023
Applies to:Oracle WebLogic Server - Version 220.127.116.11.0 and later
Primavera P6 Enterprise Project Portfolio Management - Version 18.104.22.168 and later
Information in this document applies to any platform.
When attempting to install Weblogic, the following error occurs:
[VALIDATION] [ERROR]:INST-07004: Oracle home location contains one or more invalid characters
[VALIDATION] [SUGGESTION]:The directory name may only contain alphanumeric, underscore (_), hyphen (-), or dot (.) characters, and it must begin with an alphanumeric character. Provide a different directory name.
installation Failed. Exiting installation due to data validation failure. Logs are located here: C:\...
Press Any key to exit
The issue can be reproduced at will with the following steps:
- Launch the Weblogic install in command line
- See error in command window
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document