My Oracle Support Banner

11.2.0.4 Database Control Creation Fails On Windows Machine With "java.lang.UnsupportedClassVersionError: Bad version number in .class file" (Doc ID 2180501.1)

Last updated on DECEMBER 13, 2019

Applies to:

Enterprise Manager for Oracle Database - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

11.2.0.4 Database Control creation on windows 64bit machine fails with following error:
================
> emca -config dbcontrol db -repos create

.
.
Sep 7, 2016 9:54:44 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error uploading configuration data to the repository
Sep 7, 2016 9:54:44 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error uploading configuration data to the repository
Refer to the log file at <ORACLE_BASE>\cfgtoollogs\emca\<SID>\<timestamp>.log for more details.
Could not complete the configuration. Refer to the log file at <ORACLE_BASE>\cfgtoollogs\emca\<SID>\<timestamp>.log for more details.
======================

From <ORACLE_BASE>\cfgtoollogs\emca\<SID>\emca_repos_config_<date>.log file:
=================
Sep 7, 2016 9:54:44 AM oracle.sysman.emdrep.config.EMSchemaConfiguration$ConfigInstance run
SEVERE: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at oracle.sysman.emdrep.config.EMSchemaConfiguration$ConfigInstance.run(EMSchemaConfiguration.java:469)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
==========================

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.