My Oracle Support Banner

'java is not valid' Error When Applying Patch 35430934 (Doc ID 2998431.1)

Last updated on MAY 02, 2024

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Trying to apply RU JDBC prerequisites Patches, getting an error when validating OUI inventory as per README instructions: 

  $ opatch lsinventory -jre $ORACLE_HOME/jdk/jre


ERROR
-----------------------
$ opatch lsinventory -jre $ORACLE_HOME/jdk/jre
<ORACLE_HOME>/jdk/jre/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!


In this Document
Symptoms
Cause
Solution


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