Java Java 9 及更高版本中的 Web Start 支持

Java Web Start support in Java 9 and beyond

我对 Java Web Start 的状态感到困惑。 在 Oracle 的 Support Roadmap 上,我们可以读到:

Support of Deployment Technology

The web deployment technology, consisting of the Java Plugin and Web Start technologies, has a shorter support lifecycle. For major releases through Java SE 8, Oracle provides five (5) years of Premier Support for these technologies. Extended Support is not available for the deployment stack, and will not be available for support beyond Java SE 9. See the Oracle Lifetime Support Policy for details.

Deployment Technology for Java SE 6 and Java SE 7 may be removed at any time after Jun 2017. Although the deployment stack may be included in Java SE 9 or later releases, Java SE 8 is the recommended and only supported version of the deployment stack.

现在,我们已经知道小程序和 Java 插件将在 Java 的未来版本中删除,但我从未读过 Java Web 开始成为删除的候选对象。

在 Oracle 的 Java Platform, Standard Edition Deployment Guide#Getting Started(Java 9 文档页面)中,Java Web Start 被宣传为已弃用的小程序技术的替代方法:

Although available and supported in JDK 9, the Applet API and the Java Plug-in are marked as deprecated in preparation for removal in a future release. Alternatives for applets and embedded JavaFX applications include Java Web Start and self-contained applications.

我是白担心了,还是错过了有关弃用 Java Web Start 的公告?

这适用于 Premier, Extended and Sustaining Support。仅来自引用的文本:

  • 只有高级支持涵盖部署技术;
  • 未来可能会删除部署技术 Java SE 6 和 7 版本;
  • 由于小程序 API 和插件已弃用,部署技术可能会在未来的主要版本中删除;
  • Java9 高级支持仅持续到 2018 年 3 月。

因此,Java8 是唯一一个包含完整部署技术和中期高级支持(2022 年 3 月)的版本。

请注意,这并不意味着 JavaWeb Start 将消失,而是删除 Applet API 和插件意味着拆分部署技术。

根据http://www.oracle.com/technetwork/java/javase/9-deprecated-features-3745636.html

Java Deployment Technologies are deprecated and will be removed in a future release

Java Applet and WebStart functionality, including the Applet API, The Java plug-in, the Java Applet Viewer, JNLP and Java Web Start including the javaws tool are all deprecated in JDK 9 and will be removed in a future release.

此处 OpenJDK 讨论列表中有相关​​讨论:http://mail.openjdk.java.net/pipermail/discuss/2017-November/004586.html

Oracle will not include Java Web Start in Java SE 11 (18.9 LTS) and later.

来源:Java Client Roadmap Update 2018-03-05 (Oracle)

我在 Oracle Blog entry

上看到了这个

Tuesday, January 30, 2018

Extension of Oracle Java SE 8 Public Updates and Java Web Start support By: Donald Smith | Sr. Director of Product Management

Oracle has updated the Java SE Support Roadmap. A more detailed white paper will follow shortly, but here are the key changes made:

  • The public availability of Java SE 8 updates from Oracle has been extended to at least January 2019. Moreover, Oracle will continue to provide consumers with updates for personal (non-corporate) use of Java SE 8 through at least the end of 2020.
  • Oracle will continue to support Java SE 8 Web Start applications for public and personal (non-corporate) use to the same dates noted above.
  • Oracle will continue to commercially support Java Web Start on Java SE 8 for commercial use, or when used in conjunction with Oracle products that have a Web Start dependency, through at least March, 2025.
  • As announced in 2015, Applets will continue to be supported in Java SE 8 until at least March, 2019, pending continued support by browser vendors.

一个解决方案可能是 Karakun 目前正在开发的 WebStart 替代品:https://openwebstart.com

目前还不清楚这将在何时以及如何实现,因为它是基于一种众筹,但由于每个人都可以参与(即使成本很低),这是一个很好的可能性。

因为这是 的副本,所以我只是复制了我的答案

我开始使用 IcedTea Web。它在 Ubuntu.

上运行良好