Java Application Quits with java.lang.UnsupportedClassVersionError
(Doc ID 1228044.1)
Last updated on OCTOBER 21, 2019
Applies to:Java SE JDK and JRE - Version 1.5.0 and later
Information in this document applies to any platform.
You are trying to run an application written in Java, but the application doesn't start at all. Possibly you get the application to run but it finally quits. In either case, you get some form of a java.lang.UnsupportedClassVersionError.
1) java.lang.UnsupportedClassVersionError: Bad version number in .class file
Example from a Solaris SPARC platform:
You have tried to run an application that requires a later Java Runtime Environment that you are currently running.
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