Home >Java >javaTutorial >What Java Release Corresponds to Each Major Version Number in the Class File Format?

What Java Release Corresponds to Each Major Version Number in the Class File Format?

Barbara Streisand
Barbara StreisandOriginal
2024-12-19 18:16:15410browse

What Java Release Corresponds to Each Major Version Number in the Class File Format?

Major Version Number Correspondences in Java Class File Format

The Java class file format undergoes revisions with each release of the Java platform, resulting in updates to its major version numbers. Here is a list of the major version numbers that correspond to each Java release:

Java Version Major Version
23 67
22 66
21 65
20 64
19 63
18 62
17 61
16 60
15 59
14 58
13 57
12 56
11 55
10 54
9 53
8 52
7 51
6 50
5 49
1.4 48
1.3 47
1.2 46
1.1 45
1.0.2 45

This list is derived from the class version specification found in the Java class file format. Minor versions are not included as they have not been a major factor in the compatibility of class files.

You can find more detailed information about the meaning and significance of these major versions in the following resources:

  • https://docs.oracle.com/javase/8/docs/technotes/guides/classfile/ (Byte Offset 7 link)
  • https://www.giltene.com/blog/2017/12/28/java-classfile-format.html (Additional Info link)

The above is the detailed content of What Java Release Corresponds to Each Major Version Number in the Class File Format?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn