OUI and OPatch Do Not Recognize JDK/JRE on Windows
(Doc ID 1482927.1)
Last updated on NOVEMBER 30, 2020
Applies to:Oracle WebCenter Portal - Version 184.108.40.206.0 to 220.127.116.11.0 [Release 11g]
Portal - Version 10.1.2.0.2 to 18.104.22.168.0 [Release 10gR2 to FMW11g]
Errors are reported when starting Oracle Universal Installer (OUI) and/or OPatch on Microsoft Windows.
Below are some examples:
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
%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.
Attempting to install a product using the OUI or patch a product using OPatch.
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