My Oracle Support Banner

OPatch Commands Fail with "oracle_common/jdk/bin/java is not a valid executable for this platform. OPatch cannot proceed!" (Doc ID 2035354.1)

Last updated on AUGUST 25, 2023

Applies to:

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

Symptoms

Opatch lsinventory fails with an error:

$ opatch lsinventory -all -invPtrLoc $ORACLE_HOME/oraInst.loc
<ORACLE_HOME>/oracle_common/jdk/bin/java is not a valid executable for this platform. OPatch cannot proceed!
OPatch returns with error code = 1

Note that it is referring to <ORACLE_HOME>/oracle_common, which is specific to this issue.

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
Cause
Solution
References


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