OPatch Fails With Error "Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre6\lib\ext\QTJava/zip" (Doc ID 1442459.1)

Last updated on MARCH 28, 2012

Applies to:

Oracle Universal Installer - Version: 11.2.0.1 to 11.2.0.3 - Release: 11.2 to 11.2
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

Symptoms

You have just downloaded the latest 11.2 Opatch <Patch:6880880> from My Oracle Support and successfully extracted it to your ORACLE_HOME.
However, when you attempt to execute the opatch utility, it fails with the following error:

E:\app\product\11.2.0\dbhome_1\OPatch>opatch
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre6\lib\ext\QTJava/zip

OPatch failed with error code = 1

Changes

Downloaded the latest version of 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