
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 61.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 19 | 62 | (0x3F) |
Java SE 18 | 61 | (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) |
-
Have Questions? Post them here!
More Posts related to Java,
- How to get Java Thread name Example [Program]
- Java 8: Get First and Last Date of the Week for Given Date
- Convert String to int in Java
- How to Get List of All Country Codes in Java Using Locale Class
- Convert Multidimensional Array toString In Java
- [Fix] java: incompatible types: incompatible parameter types in lambda expression error
- Display Era details (AD BC) in Java Date using SimpleDateFormat
- Create a Zip file using Java Code programmatically
- [Fix] java.net.MalformedURLException: unknown protocol
- [fix] Java JDBC ConnectException: Connection refused
- Read Json File and Convert to Java Object using Jackson
- list of jars required for hibernate 4.x.x
- Simple Struts 2 Tutorial in eclipse with tomcat 7 server
- Java: The value of the local variable string is not used
- [fix] URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) IntelliJ
- Java 8+ get Day of the Week Examples with LocalDateTime, DateTime, ZonalDateTime and Instant classes
- Run SQL Script file using Java JDBC Code Example
- Remove Trailing zeros BigDecimal Java
- Java JDBC IN Clause Example with PreparedStatement MySQL
- Convert Java List to Json String using Jackson
- Java 8 foreach loop code examples
- error: file not found: HelloWorld.java
- IntelliJ Keyboard Shortcut to remove unused imports [Java]
- Exception in thread main java.lang.NoClassDefFoundError: package javaClass
- Struts 2 Hello World Example in Eclipse
More Posts:
- How to fix Java HTTP java.net.UnknownHostException - Java
- Whats new in Python 3.10 Pre-release - Python
- How to set Out Of Office (OOO) on Outlook for Mac - MacOS
- SharePoint 2010 DataForm Unable to display this Web Part System.StackOverflowException - SharePoint
- Quick Steps to install NodeJs on macOS - MacOS
- How to fix java.net.NoRouteToHostException in Android Studio - Android-Studio
- Fix: Deprecated Gradle features were used in this build, making it incompatible with Gradle - Gradle
- How to remove unwanted Java imports in IntelliJ (alternative of eclipse Ctrl + Shift + O) - Eclipse