Opatch JAVA Error On Windows

(Doc ID 2366539.1)

Last updated on FEBRUARY 27, 2018

Applies to:

Oracle Warehouse Builder - Version 11.2.0.4 and later
Information in this document applies to any platform.
CYGWIN with CYGDrive configuration

Symptoms

opatch JAVA error on Windows
$ opatch version
Invalid maximum heap size: -Xmx192m
Could not create the Java virtual machine.

OPatch failed with error code 1

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