My Oracle Support Banner

E-WL: Getting Error "Please set appropriate JAVA_HOME and run again" When Using OPatch to Apply a CPU Patch to WebLogic (Doc ID 3076229.1)

Last updated on MARCH 11, 2025

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.60 and later
Information in this document applies to any platform.

Symptoms

Getting Error "Please set appropriate JAVA_HOME and run again" When Using OPatch to Apply a CPU Patch to WebLogic.

In the command prompt, OPatch reports:

The jdk /<path to jdk>/jdk11.0.20 is not accessible.
Please set appropriate JAVA_HOME and run again.

Changes

Java had been upgraded to jdk11.0.21. 

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
Changes
Cause
Solution
References


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