Opatch Lsinventory for ORACLE_COMMON Fails with $ORACLE_HOME/jdk/bin/java is not a valid executable for this platform. OPatch cannot proceed!
Last updated on MARCH 08, 2017
Applies to:Oracle Fusion Middleware - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
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
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms