My Oracle Support Banner

Opatch Gives Error 'Java Could Not Be Located. Opatch Cannot Proceed' On Windows When The JDK Was Moved From The ORACLE_HOME (Doc ID 2961905.1)

Last updated on JULY 17, 2023

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

It was necessary to move the JDK that is distributed with the product to a different JAVA_HOME, which will be updated periodically.
However, when the 'opatch version' is executed the next error is reported:

ERROR

 

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.