Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. java class file

Tag: java class file

j
java January 25, 2024 2 min read by mkyong 0 comments

Java – Unsupported class file major version 65

When we compile our Java programs, each generated .class file carries a major version that indicates which Java version was used during compilation. For example, if we compile our code using Java 21 (major version 65), and then run the class file on an environment with an older Java version, we will encounter the error: […]

Read more Java – Unsupported class file major version 65
j
java April 25, 2022 2 min read by mkyong 3 comments

Java – Unsupported class file major version 61

When we compile our Java programs, each resulting .class file contains a major version number. For example, if we compile our code with Java 17 (major version 61), and then try to run the class file on Java 16 or earlier, we will encounter the error: Unsupported class file major version 61. This situation often […]

Read more Java – Unsupported class file major version 61
j
java January 25, 2022 2 min read by mkyong 0 comments

List of Java class file major version numbers

This article shows all the major version of the Java class file, for example, Java 17 (61), Java 11 (55), and Java 8 (52).

Read more List of Java class file major version numbers
java April 22, 2019 1 min read by mkyong 0 comments

How to check which JDK version compiled the class?

Find the major version of the Java class file, and we will know which JDK version compiled the Java class. Below are some popular Java LTS released and their major version numbers. Java SE Major Version Hex 17 61 0x3D 11 55 0x37 8 52 0x34 If the major version of the Java class file […]

Read more How to check which JDK version compiled the class?
java July 13, 2014 3 min read by mkyong 5 comments

How to Fix “Unsupported major.minor version 51.0” on Java

null

Read more How to Fix “Unsupported major.minor version 51.0” on Java

Java and Spring tutorials since 2008. Every example is a complete, runnable file, compiled and run on a real machine before it goes out.

About This Site

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use

© 2026 mkyong.com — Powered by WordPress

RSS