11.2.0.4 & 12.1.0.2 OUI Cloning fails with java.lang.UnsupportedClassVersionError : "Bad version number in .class file occurred" and "Unsupported major.minor version 51.0 occurred" respectively
(Doc ID 2904675.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]Information in this document applies to any platform.
Symptoms
Cloning of 11.2.0.4 & 12.1.0.2 Oracle Homes using OUI fail with below error
SEVERE:Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support :
"<Central Inventory>/logs/cloneActions<Date & Timestamp>.log"
"<Central Inventory>/logs/oraInstall<Date & Timestamp>.err"
"<Central Inventory>/logs/oraInstall<Date & Timestamp>.out"
Checking oraInstall<Date & Timestamp>.err from 11.2.0.4 , would show the below Java trace-
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at oracle.sysman.oii.oiif.oiifw.OiifwOCMInfoWCDE.<init>(OiifwOCMInfoWCDE.java:103)
at oracle.sysman.oii.oiic.OiicCloneSession.getIterElements(OiicCloneSession.java:1132)
at oracle.sysman.oii.oiic.OiicPullSession.initialize(OiicPullSession.java:1408)
at oracle.sysman.oii.oiic.OiicSessionWrapper.initialize(OiicSessionWrapper.java:783)
at oracle.sysman.oii.oiic.OiicSessionWrapper.initialize(OiicSessionWrapper.java:767)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:568)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:969)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
Checking oraInstall<Date & Timestamp>.err from 12.1.0.2 , would show the below Java trace-
java.lang.UnsupportedClassVersionError: oracle/sysman/ccr/collector/install/InvalidValueException : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at oracle.sysman.oii.oiif.oiifw.OiifwOCMInfoWCDE.<init>(OiifwOCMInfoWCDE.java:103)
at oracle.sysman.oii.oiic.OiicCloneSession.getIterElements(OiicCloneSession.java:1133)
at oracle.sysman.oii.oiic.OiicPullSession.initialize(OiicPullSession.java:1423)
at oracle.sysman.oii.oiic.OiicSessionWrapper.initialize(OiicSessionWrapper.java:784)
at oracle.sysman.oii.oiic.OiicSessionWrapper.initialize(OiicSessionWrapper.java:768)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:568)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:969)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
Cause
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
Symptoms |
Cause |
Solution |
References |