My Oracle Support Banner 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 and later
Information in this document applies to any platform.

Symptoms 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
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at oracle.sysman.emdrep.config.EMSchemaConfiguration$
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file


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

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