
You must have at times received java.lang.UnsupportedClassVersionError when you try to run a Java Class or application,
java.lang.UnsupportedClassVersionError: MyJavaClass :
Unsupported major.minor version 64.0
The reason you would get this error is your class files might be built using a higher version of Java Compiler and your JVM (JRE) does not support it.
List of Java Major Minor Versions
Java version | Major Version | Hex Code |
---|---|---|
Java SE 21 (YTR) | 65 | (0x41) |
Java SE 20 | 64 | (0x40) |
Java SE 19 | 63 | (0x3F) |
Java SE 18 | 62 | (0x3E) |
Java SE 17 | 61 | (0x3D) |
Java SE 16 | 60 | (0x3C) |
Java SE 15 | 59 | (0x3B) |
Java SE 14 | 58 | (0x3A) |
Java SE 13 | 57 | (0x39) |
Java SE 12 | 56 | (0x38) |
Java SE 11 | 55 | (0x37) |
Java SE 10 | 54 | (0x36) |
Java SE 9 | 53 | (0x35) |
Java SE 8 | 52 | (0x34) |
Java SE 7 | 51 | (0x33) |
Java SE 6.0 | 50 | (0x32) |
Java SE 5.0 | 49 | (0x31) |
JDK 1.4 | 48 | (0x30) |
JDK 1.3 | 47 | (0x2F) |
JDK 1.2 | 46 | (0x2E) |
JDK 1.1 | 45 | (0x2D) |
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Java,
- Java equals method - Tutorial
- Unbound classpath container: JRE System Library [JavaSE-1.7]
- Spring Boot: @RequestBody not applicable to method
- Java 8: Steam map with Code Examples
- Java Program: Random Number Generator
- Java java.time.Clock class code examples [Java Date Time API]
- Fix: type argument is not within bounds of type-variable T
- [Fix] java.net.MalformedURLException: unknown protocol
- Java 7 addSuppression() and getSuppression() Exception Handling
- Convert Java Array to ArrayList Code Example
- How to Word-Warp Console logs in IntelliJ
- Ways Compare Dates in Java Programming with Examples
- Remove Trailing zeros BigDecimal Java
- CRUD operations in Spring Boot + JDBC
- [Java Threads] Should we extend Thread Class or implement Runnable interface
- Json Serialization and Deserialization using Java Jackson
- Create simple struts2 project using maven commands
- How to install Java OpenJDK 11 on Alpine Linux
- Unsupported major.minor version 52.0 in java
- Error: Can not find the tag library descriptor for
- Java: Convert String to Binary
- How to run Java Unit Test cases with Apache Maven?
- Java: Testing Private Methods in JUnit using reflection API Example
- Java JDBC Connection with MySQL Driver in VS Code + Troubleshooting
- Java Join Strings with Comma Separator
More Posts:
- Pdf Text to Speech option in Mac OS X Preview App - Mac-OS-X
- Your JBoss Application Server 7 is running However you have not yet added any users to be able to access the admin console - Java
- ls command to list only directories - Linux
- How to hide or disable iOS 14 App Library on iPhone? - Apple
- How to Change Background/Foreground Color to Vim - Linux
- How to Show Commit Date in Eclipse Git History Details - Git
- Setting and Updating AWS CLI Configuration - AWS
- Spring Boot + Redis Cloud Configuration and Setup Tutorial - Java