My Oracle Support Banner

EM 13.4 OPatch Upgrade has Failed with Message - This installer must be executed using a Java Development Kit (JDK) (Doc ID 2758531.1)

Last updated on MARCH 10, 2021

Applies to:

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

Symptoms

Enterprise Manager 13.4 OPatch Upgrade has failed with errors as below

$ java -jar <PATH>/6880880/opatch_generic.jar -silent oracle_home=<MW_HOME>
Launcher log file is /<TMP_DIR>/OraInstall<TIMESTAMP>/launcher<TIMESTAMP>.log.
Extracting the installer . . . . Done
This installer must be executed using a Java Development Kit (JDK)
but /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre is not a valid JDK Java Home.
The log is located here: /TMP_DIR/OraInstall<TIMESTAMP>/launcher<TIMESTAMP>.log.

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.