Error: "INST-07004: Oracle home location contains one or more invalid characters" When Installing Weblogic

(Doc ID 2145347.1)

Last updated on JULY 19, 2018

Applies to:

Oracle WebLogic Server - Version and later
Primavera P6 Enterprise Project Portfolio Management - Version 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:

  1. Launch the Weblogic install in command line
  2. See error in command window




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms