Java版本和术语,1.6 vs 6.0 OpenJDK vs Sun. [英] Java versioning and terminology, 1.6 vs 6.0 OpenJDK vs Sun

查看:359
本文介绍了Java版本和术语,1.6 vs 6.0 OpenJDK vs Sun.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在理解Java版本时遇到了问题。我看到很多版本,如1.4.2,1.5和1.6,但我也偶然发现5.0和6.0。我不明白这个版本控制或进展。

I'm having problems understanding Java versioning. I'm seeing lots of versions like 1.4.2, 1.5 and 1.6, but I also stumble upon 5.0 and 6.0. I don't understand this versioning or the progression.

我是Java的新手,我读过一些关于 OpenJDK vs Sun,我想我明白了。这些版本是OpenJDK和Sun之间的区别吗?例如,OpenJDK的最新版本是1.6而Sun的版本是6.0?

I'm pretty new to Java, and I've read a bit about OpenJDK vs Sun, and I think I understand it. Are these versions the difference between OpenJDK and Sun? For example, OpenJDK's latest is 1.6 and Sun's is 6.0?

所有这些版本对于刚接触Java的人都非常困惑。

All these versions are pretty confusing to someone new to Java.

推荐答案

版本控制只是一团糟:


  • Java 1.0和1.1是正常的

  • 然后是Java 1.2,但你应该称之为Java 2,JDK 1.2

  • 这一直持续到1.4(还有一些小版本比如1.4.2)

  • 下一个版本应该是Java 5.0,但文件名和URL中仍然存在1.5。

  • 从Java 6开始,他们已经删除了次要版本,而且大多数(但不是完全看到 java -version 的输出)消除了旧的版本控制方案,但人们已经习惯了并继续通俗地使用它。

  • Java 1.0 and 1.1 were normal
  • Then came Java 1.2, but you were supposed to call it "Java 2, JDK 1.2"
  • This continued until 1.4 (There were also minor releases like 1.4.2)
  • The next version was then supposedly "Java 5.0", but there was still "1.5" all over the place in the file names and URLs.
  • Starting with Java 6, they've dropped the minor version and mostly (but not completely, see output of java -version) eliminated the traces of the old versioning scheme, but people have gotten used to it and continue to use it colloquially.

这篇关于Java版本和术语,1.6 vs 6.0 OpenJDK vs Sun.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆