Opatch Lsinventory for ORACLE_COMMON Fails with $ORACLE_HOME/jdk/bin/java is not a valid executable for this platform. OPatch cannot proceed! (Doc ID 2035354.1)

Last updated on MARCH 08, 2017

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 when the Oracle Home is ORACLE_COMMON
The error is

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

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