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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/46904795/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-12 02:30:23  来源:igfitidea点击:

Java Web Start support in Java 9 and beyond

javajava-web-startjava-9

提问by Thierry Guérin

I'm confused about the status of Java Web Start. On Oracle's Support Roadmapwe can read this:

我对 Java Web Start 的状态感到困惑。在 Oracle 的支持路线图上,我们可以阅读以下内容:

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.

部署技术支持

Web 部署技术由 Java Plugin 和 Web Start 技术组成,具有较短的支持生命周期。对于通过 Java SE 8 的主要版本,Oracle 为这些技术提供五 (5) 年的首要支持。扩展支持不适用于部署堆栈,也不适用于 Java SE 9 以外的支持。有关详细信息,请参阅 Oracle 终身支持政策。

Java SE 6 和 Java SE 7 的部署技术可能会在 2017 年 6 月之后的任何时间删除。 虽然部署堆栈可能包含在 Java SE 9 或更高版本中,但 Java SE 8 是推荐且唯一受支持的部署堆栈版本

Now, we have known for quite some time that applets and the Java Plugin were to be removed in a future version of Java, but I had never read about Java Web Start being a candidate for removal.

现在,我们已经知道 Applet 和 Java Plugin 将在未来的 Java 版本中被删除,但我从未读过关于 Java Web Start 是被删除的候选者的消息。

In Oracle's Java Platform, Standard Edition Deployment Guide#Getting Started(a Java 9 documentation page), Java Web Start is advertised as an alternative to the deprecated applet technology:

在 Oracle 的Java 平台标准版部署指南#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.

尽管在 JDK 9 中可用并受支持,Applet API 和 Java 插件被标记为已弃用,以准备在未来版本中删除。Applet 和嵌入式 JavaFX 应用程序的替代方案包括 Java Web Start 和自包含应用程序。

Am I worrying for nothing or I have missed an announcement about the deprecation of Java Web Start?

我是在担心什么还是我错过了关于弃用 Java Web Start 的公告?

采纳答案by tanderson

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

根据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 toolare all deprecated in JDK 9 and will be removed in a future release.

Java 部署技术已弃用,将在未来版本中删除

Java Applet 和 WebStart 功能,包括 Applet API、Java 插件、Java Applet 查看器、JNLP 和 Java Web Start(包括 javaws 工具)在 JDK 9 中均已弃用,并将在未来版本中删除。

There is a related discussion on the OpenJDK discuss list here: http://mail.openjdk.java.net/pipermail/discuss/2017-November/004586.html

这里有关于 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.

Oracle 不会在 Java SE 11 (18.9 LTS) 及更高版本中包含 Java Web Start。

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

来源:Java 客户端路线图更新 2018-03-05 (Oracle)

回答by Didier L

This applies to Premier, Extended and Sustaining Support. Just from the quoted text:

这适用于首要支持、扩展支持和持续支持。仅从引用的文本:

  • only Premier Support covers the Deployment Technology;
  • the Deployment Technology could be removed in future Java SE 6 and 7 releases;
  • as the applet API and plug-in are deprecated, the Deployment Technology could be removed in a future major release;
  • Java 9 Premier Support only lasts until March 2018.
  • 只有 Premier Support 涵盖部署技术;
  • 部署技术可能会在未来的 Java SE 6 和 7 版本中删除;
  • 由于小程序 API 和插件已被弃用,部署技术可能会在未来的主要版本中删除;
  • Java 9 Premier Support 仅持续到 2018 年 3 月。

Consequently, Java 8 is the only release that will include the full Deployment Technology with mid-term Premier Support (March 2022).

因此,Java 8 是唯一包含完整部署技术和中期首要支持(2022 年 3 月)的版本。

Note that it does not mean Java Web Start will disappear but removing the Applet API and the plug-in means breaking apart the Deployment Technology.

请注意,这并不意味着 Java Web Start 会消失,但移除 Applet API 和插件意味着打破部署技术。

回答by procrastinate_later

I saw this on an Oracle Blog entry

我在Oracle 博客条目上看到了这个

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.

2018 年 1 月 30 日,星期二

Oracle Java SE 8 公共更新和 Java Web Start 支持的扩展作者:Donald Smith | 产品管理高级总监

Oracle 已更新 Java SE 支持路线图。稍后将发布更详细的白皮书,但以下是所做的主要更改:

  • Oracle 的 Java SE 8 更新的公开可用性已至少延长至 2019 年 1 月。此外,Oracle 将继续为消费者提供更新,以供个人(非公司)使用 Java SE 8 至少到 2020 年底。
  • Oracle 将继续支持 Java SE 8 Web Start 应用程序供公共和个人(非公司)使用,直至上述相同日期。
  • 至少在 2025 年 3 月之前,Oracle 将继续在商业上支持 Java SE 8 上的 Java Web Start 以用于商业用途,或者与具有 Web Start 依赖项的 Oracle 产品结合使用。
  • 正如 2015 年宣布的那样,Java SE 8 将继续支持 Applet,至少到 2019 年 3 月,等待浏览器供应商的继续支持。

回答by Hendrik Ebbers

One solution might be the WebStart replacement that Karakun is currently working on: https://openwebstart.com

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

Currently it is not clear when and how this will come since it is based on a kind of crowd-founding but since everyone can get involved (even with low cost) this is a very good possibility.

目前尚不清楚这将何时以及如何发生,因为它基于一种众创,但由于每个人都可以参与(即使成本较低),这是一个非常好的可能性。

Since this is a duplicate of Applet/JNLP on Java 11 migrationI just copied my answer

由于这是Java 11 迁移上 Applet/JNLP的副本,因此我只是复制了我的答案

回答by ecavero

I started using IcedTea Web. It seams to work fine on Ubuntu.

我开始使用 IcedTea Web。它在 Ubuntu 上运行良好。