Error while patching ODSEE 7.0 to release 11gR1 version - "Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file" .

(Doc ID 1330290.1)

Last updated on NOVEMBER 04, 2015

Applies to:

Oracle Directory Server Enterprise Edition - Version 7.0 to [Release 7.0 to 11gR1]
Information in this document applies to any platform.
***Checked for relevance on 17-Sep-2013***


When running patch-complete  Patch to 11 g Release 1 ( get the following error:

# /app/sun/DS/7.0/dsee7/bin/dsccsetup complete-patch
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(

The sequence of events
Attempting to patch DSEE 7.0 system to
- Ran the prepare-patch which was successful and there were no errors.
- Verified the instances were stopped.
- Unzip'd the files as indicated.
All with no errors.
- Attempted to run the complete-patch and received an error.


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