My Oracle Support Banner

OPatch Errors: "FMW Home is Corrupted (Weblogic Home is Not Found)" and "Java Could Not be located" (Doc ID 2291211.1)

Last updated on AUGUST 24, 2023

Applies to:

Oracle Fusion Middleware - Version and later
Information in this document applies to any platform.


Applying a patch to an Oracle Fusion Middleware 11g home when the following error occurs:

Fusion Middleware Home is corrupted (Weblogic Home is not found)

D:\Java\bin\Java.exe could not be located. Opatch cannot proceed.

Opatch failed with Error code=1

Followed the readme to apply the patch:

Ensure that the directory containing the OPatch script appears in your $PATH;
then, enter the following command:

$opatch apply

Special Instructions:

- Make sure that all instances running under the ORACLE_HOME are shutdown before installing this patch.

Also, ensure that you exit the tool used to terminate the instance(s).

- This utility will fail if the Oracle inventory is not setup correctly.
To check the accessibility to the inventory run the following command:

$opatch lsinventory
--end snippet---

The same issue is occurring with opatch lsinventory


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

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