Error: "INST-07004: Oracle home location contains one or more invalid characters" When Installing Weblogic (Doc ID 2145347.1)

Last updated on JUNE 17, 2016

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 12.2.1.0.0 from the fmw_12.2.1.0.0_wls_quick.jar file, 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

Cause

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