My Oracle Support Banner

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 APRIL 16, 2018

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

To view full details, 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 a vibrant support community of peers and Oracle experts.