9/4/2023 0 Comments I have java 51 and java 60JDK 7 or 7.Īnd, finally, the Unsupported major.minor version 51.0 means your code is compiled using JDK 7 and you are trying to run it on JRE 6 or 5. Similarly, the Unsupported major.minor version 52.0 means your code is compiled using JDK 8 compiler and you are trying to run it on lower JVM like. For example, the Unsupported major.minor version 53.0 means your code is compiled in JDK 9 (the class version 52 corresponds to JDK 9) and you are trying to run it on any JRE lower than Java 9, probably JDK 8, 7, or 6. ![]() The root cause of this error is that your code is compiled using a higher JDK version and you are trying to run it on the lower version. The UnsupportedClassVersionError is a big nightmare for Java developers, probably the next biggest after NoClassDefFoundError and ClassNotFoundException but it's slightly easier to solve.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |