LoginSignup
6

More than 5 years have passed since last update.

[Java] Javaの名前とバージョン

Last updated at Posted at 2015-10-25

目的

Javaの名前とバージョンを整理します(基本、Sun/Oracleのもの)。

ついでに、サポートしているClassファイルのバージョン(メジャー番号、マイナー番号)も。

一覧

名前 製品バージョン 開発者バージョン サポートClassバージョン 補足
JDK 1.0 1.0 45.0 - 45.3 JDK 1.0.2が初
JDK 1.1 1.1 45.0 - 45.65535
J2SE 1.2 1.2 45.0 - 46.0
J2SE 1.3 1.3 45.0 - 47.0
J2SE 1.4 1.4 45.0 - 48.0
J2SE 5.0 5.0 1.5 45.0 - 49.0 バージョンが2体系に分離
Java SE 6 6 1.6 45.0 - 50.0 製品バージョンが整数
Java SE 7 7 1.7 45.0 - 51.0
Java SE 8 8 1.8 45.0 - 52.0

サポートしているClassファイルのバージョン

JavaVMのクラスファイル仕様

Oracle's Java Virtual Machine implementation in JDK release 1.0.2 supports class file format versions 45.0 through 45.3 inclusive. JDK releases 1.1.* support class file format versions in the range 45.0 through 45.65535 inclusive. For k ≥ 2, JDK release 1.k supports class file format versions in the range 45.0 through 44+k.0 inclusive.

2つのバージョン体系

  • J2SE 5.0 の Javadoc
    「外部バージョン番号は 5.0 であり、内部バージョン番号は 1.5.0 です」
  • Java SE 6 の Javadoc
    「製品バージョン番号は 6 であり、開発者バージョン番号は 1.6.0 です」
  • JDK7のネーミング (意訳)「バージョン番号は7で、バージョン文字列は 1.7 とか 1.7.0 です。ちなみに1.xとか1.x.0の、xの部分は製品バージョン番号です。」
  • JDK8のネーミング (意訳)「バージョン番号は8で(以下略)」

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
6