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

Last updated on OCTOBER 13, 2017

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms