sách gpt4 ai đã đi

Tại sao JRE 10 đã lỗi thời và JRE 8 lại được cập nhật?

In lại 作者:搜寻专家 更新时间:2023-10-31 19:36:35 29 4
mua khóa gpt4 Nike

我(作为一个非 Java 的人)对我的本地 JRE 10 安装需要更新感到困惑,但是在更新时,我得到了 JRE 8!这甚至在 https://java.com/en/download/more_info10.jsp 上有报道:

Users who installed JRE 9 and/or JRE 10 (non Long-Term Support Releases) should remove those out-of-date versions of Java.

如果 JRE 11 是当前版本,我会理解,但不是,它是 JRE 8:

If you still require Java on your computer download the latest release of JRE 8 available at java.com, which is the only currently supported major release of Java targeting desktop deployment.

这怎么可能?

1 Câu trả lời

解释就在您链接和引用的页面上。

突出显示相关部分。“桌面部署”。

If you still require Java on your computer download the latest release of JRE 8 available at java.com, which is the only currently supported major release of Java targeting desktop deployment.

简答:

  • Java 9 和 10 不是 Long Term Support (LTS)释放,并已过期。
  • Java 8 商业支持将于 2019 年 1 月结束,但供个人使用的公开更新将持续到 2020 年 12 月。
  • Java 11 是当前版本,也是 LTS 支持版本。

所以今天的选择是在 Java 8 和 11 之间。但是 11 删除了小程序和浏览器集成以及其他桌面技术(JavaFX、java webstart 等)。请参阅下面的列表并链接到源。另请参阅 2018 年 3 月的 Oracle 白皮书,Java Client Roadmap Update .

更多细节:Oracle 已决定停止自行发布 JRE 的多个变体。以及需要新版本的生产使用许可证。例如,不再有 32 位变体,传统的桌面变体不可用,因为没有 java webstart 并且 javafx 从 jdk 11+ 等开始被分离出来,Oracle 更专注于 64 位和服务器。

加上 9 和 10 不是长期支持版本(并且它们已经过期)这一事实,这让您现在可以为这个特定用例选择 Java 8。

来自 Oracle 的 Java 8 的 JDK 公共(public)更新将于 2019 年 1 月结束(个人使用将于 2020 年 12 月结束),因此至少在那之前是当前桌面 Java 版本的选择,来自 Oracle。

当前版本的 java 11 仅作为 64 位 JDK(开发工具包下载)从 oracle 提供。没有合适的桌面 JRE(只有运行时)。

从 Oracle 的 JDK 11 版本中删除:重要变更和信息以下是有关此版本的一些重要更改和信息。在某些情况下,这些发行说明中提供了有关下述更改的更多详细信息。

  • The deployment stack, required for Applets and Web Start Applications, was deprecated in JDK 9 and has been removed in JDK 11.
  • Without a deployment stack, the entire section of supported browsers has been removed from the list of supported configurations of JDK 11.
  • Auto-update, which was available for JRE installations on Windows and macOS, is no longer available.
  • In Windows and macOS, installing the JDK in previous releases optionally installed a JRE. In JDK 11, this is no longer an option.
  • In this release, the JRE or Server JRE is no longer offered. Only the JDK is offered. Users can use jlink to create smaller custom runtimes.
  • JavaFX is no longer included in the JDK. It is now available as a separate download from openjfx.io.

nguồn:https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html

关于java - 为什么 JRE 10 已过时而 JRE 8 是最新的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54188893/

29 4 0
Bài viết được đề xuất: java - 将循环转换为 lambda 并抛出异常
Bài viết được đề xuất: java - 如何在 Java 中关闭隐式流?
Bài viết được đề xuất: swift - TIC 读取状态 [6 :0x0]: 1:57 Xcode 9 - Network Requests not working
Bài viết được đề xuất: java - 从圈子里找一小群 friend ?
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com