While Running Optach, Get The Error : java.lang.NoClassDefFoundError at oracle.opatch.opatchprereq.PrereqAPI.checkJDKCompatibleOUI

(Doc ID 2149815.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to run opatch lsinventory, the following error occurs.

ERROR
-----------------------
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/sysman/oii/oiix/OiixPathOps
at oracle.opatch.opatchprereq.PrereqAPI.checkJDKCompatibleOUI(PrereqAPI.java:2101)
at oracle.opatch.OPatch.main(OPatch.java:558)
Caused by: java.lang.ClassNotFoundException: oracle.sysman.oii.oiix.OiixPathOps
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 2 more

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