为什么Oracle JDK 9下载这么早就结束了? [英] Why Oracle JDK 9 download ends so early?

查看:1318
本文介绍了为什么Oracle JDK 9下载这么早就结束了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的机器上安装JDK 9,访问JDK官方下载页面,并且很惊讶地看到,

I wanted to install JDK 9 on my machine, visited JDK official download page, and was surprised to see,


Java SE 9已经到了支持终点。 Java SE 9的用户应切换到Java SE 10.请访问我们的Java SE下载页面以获取当前版本的Java SE。您将在......秒内重定向到Java SE下载页面。请将您的书签更新到Java SE下载页面。

Java SE 9 has reached end of support. Users of Java SE 9 should switch to Java SE 10. Please visit our Java SE Downloads page to get the current version of Java SE. You will be redirected to the Java SE Downloads page in ... seconds. Please update your bookmarks to the Java SE Downloads page.

我做了一些谷歌搜索和Java发布历史等但是找不到任何具体原因。

I did some googling and Java release history etc. But couldn't find any concrete reason.

我有几个问题 -


  1. Oracle仍在支持JDK 1.8,但是停止发布JDK 9的更新,为什么?

  2. 我应该继续使用JDK 1.8一段时间然后直接切换到JDK 10吗?


推荐答案

过去,Java主要版本通常往往会加载对代码产生巨大影响的深远功能您可以而且应该编写,如泛型(Java 5)和功能构造(Java 8)。

In the past, Java major releases often tended to be loaded with far-reaching features that had a massive impact on the code that you could and should write, like generics (Java 5) and functional constructs (Java 8).

使用Java 9,他们引入了一个新的模块化系统(项目Jigsaw),这也对JVM架构产生了巨大影响(尽管语言语法不是很多)。由于与Java社区中其他有影响力的成员实施该功能存在分歧,他们不得不推迟发布Java 9两次。

With Java 9 they introduced a new modularization system (project Jigsaw), that also has a massive impact on the JVM architecture (although, not so much on the language syntax). They had to postpone the release of Java 9 two times because of disagreements on the implementation of that feature with other influential members of the Java community.

大概从中吸取教训如果你愿意的话,Oracle决定彻底改革Java的开发风格,使其更具增量或敏捷。他们希望每六个月以固定的发布时间表发布具有较少新功能的主要版本,而不是让功能加载的主要版本有时需要很多年才能完成。

Presumably drawing a lesson from this, Oracle decided to overhaul the development style for Java to be more incremental or "agile", if you like. Instead of having feature loaded major releases that can sometimes take many years to finish, they want to publish major releases with less new features each in a fixed release schedule every six months.

Java 9和Java 10是使用此新版本模型安排的前两个版本,Java 9已经因Java 10的发布而被弃用。 Java 11 ,应该会在2018年9月发布成为长期支持(LTS)版本,支持到2026年 Source )。这与Ubuntu发布模型中的许多用户非常相似(另外,他们甚至计划用涉及发布年份和月份的内容替换版本号,类似于Canonical在Ubuntu中所做的事情,但出于某种原因放弃了这个想法。)

Java 9 and Java 10 are the first two versions scheduled with this new release model and Java 9 already got deprecated with the release of Java 10. Java 11, which is supposed to be released in September 2018 will be a Long Term Support (LTS) release with support until 2026 (Source). This is very similar to what many are used to from the Ubuntu release model (On a side note, they even planned to replace the version numbers with something involving the year and month of release or so, similar to what Canonical is doing with Ubuntu, but dropped that idea for some reason).

现在使用非LTS版本的Java意味着承诺更新每6个月使用JDK的软件。它不应该像过去将代码从一个主要Java版本迁移到另一个主要Java版本那样,因为如上所述,语言更改应该以更加渐进的方式发生,但它绝对值得考虑。如果您不想做出这样的承诺,那么您应该坚持使用LTS版本,这意味着至少在Java 8发布之前一直使用Java 8.

Using a non-LTS version of Java now implies a commitment to update your software that uses the JDK every 6 month. It shouldn't be as involved as migrating code from one major Java version to another in the past because, as described, the language changes are supposed to happen in a more incremental way, but it's definitely something to consider. If you don't want to make this commitment, you should stick to the LTS versions, which means to stay with Java 8 at least until the release of Java 11.

即使在Java 11发布之后,如果要使用的工具链不能立即完全支持Java 11,也可能需要坚持使用Java 8.

Even after the release of Java 11, it might be necessary to stick with Java 8 if the toolchain to be used does not fully support Java 11 right away.

这篇关于为什么Oracle JDK 9下载这么早就结束了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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