Getting OPatch Error 'JAVA_HOME Is Not Set Or Does Not Exist' When Applying Patch for WLS
(Doc ID 2265317.1)
Last updated on JUNE 19, 2024
Applies to:
Oracle Fusion Middleware - Version 12.1.3.0.0 and laterOracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.
Symptoms
Following the normal steps to apply a patch using OPatch
unzipped pxxxxxxxx_121300_Generic.zip
export ORACLE_HOME=/<PATH>/weblogic
export JAVA_HOME=/<PATH>/java/jdk1.7.0_141
export PATH=$ORACLE_HOME/OPatch:$JAVA_HOME/bin:$PATH
cd <patch_name>
opatch apply
The following error occurs despite the JAVA_HOME is set:
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 |
References |