A DESCRIPTION OF THE REQUEST :
The message "Unsupported major.minor version 52.0" in unnecessarily cryptic. This message should show both the version of the running JRE and the version of the class file in 'human readable' terms. For example:
Class version 1.8 is not supported by JRE 1.7.
JUSTIFICATION :
We support junior Java programmers. About once a week, we get a question related to this error message.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Class version 1.8 is not supported by JRE 1.7.
ACTUAL -
Unsupported major.minor version 52.0
The message "Unsupported major.minor version 52.0" in unnecessarily cryptic. This message should show both the version of the running JRE and the version of the class file in 'human readable' terms. For example:
Class version 1.8 is not supported by JRE 1.7.
JUSTIFICATION :
We support junior Java programmers. About once a week, we get a question related to this error message.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Class version 1.8 is not supported by JRE 1.7.
ACTUAL -
Unsupported major.minor version 52.0
- relates to
-
JDK-8016644 Improve UnsupportedClassVersionError message
-
- Closed
-