My Oracle Support Banner

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 12.2.1.0.0 and later
Primavera P6 Enterprise Project Portfolio Management - Version 16.1.0.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to install Weblogic, the following error occurs:

ERROR
-----------------------
[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

STEPS
-----------------------
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

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.