My Oracle Support Banner

OUI and OPatch Do Not Recognize JDK/JRE on Windows (Doc ID 1482927.1)

Last updated on JUNE 15, 2023

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 to 11.1.1.6.0 [Release 11g]
Portal - Version 10.1.2.0.2 to 11.1.1.6.0 [Release 10gR2 to FMW11g]
Generic Windows

Symptoms

 Errors are reported when starting Oracle Universal Installer (OUI) and/or OPatch on Microsoft Windows.

Below are some examples:

Starting OUI

setup.exe -jreLoc C:\Program Files\Java\jrockit-jdk1.6.0_24-R28.1.3-4.0.1
Java program was not found in C:\Program\bin

Starting OPatch

%ORACLE_HOME%\OPatch\opatch lsinventory -jdk C:\Program Files\Java\jdk1.6.0_33
File Not Found
Java could not be located. OPatch cannot proceed!

 

In both cases above, the absolute path to JDK specified (for "jreLoc" and "-jdk" paramerters) are valid and correct.

Changes

Attempting to install a product using the OUI or patch a product using OPatch.

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

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