javascript 我的 Java 小程序可以在 Chrome 45 上运行吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30451274/
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
Will my Java Applets run on Chrome 45?
提问by jordi casas
The web application we develop uses three Java Applets.
我们开发的 Web 应用程序使用三个 Java Applet。
We know that Chrome 45 will drop NPAPI support. In this page, Oracle says that Java Plugin relies on NPAPI.
我们知道 Chrome 45 将放弃 NPAPI 支持。在这个页面中,Oracle 说 Java Plugin 依赖于 NPAPI。
https://java.com/en/download/faq/chrome.xml
https://java.com/en/download/faq/chrome.xml
The fact is that I've tried to execute my Applets with chrome 43 and 44, which disable NPAPI by default but not the Java Plugin and they execute correctly, although some extra warning messages appear on the top of the window saying that the Java Plugin will be disabled soon.
事实是,我已经尝试使用 chrome 43 和 44 执行我的小程序,它们默认禁用 NPAPI 而不是 Java 插件,并且它们正确执行,尽管窗口顶部出现了一些额外的警告消息,说 Java 插件将很快被禁用。
Question 1: If Java Plugin relies on NPAPI, why are my applets working? I don't undertand it.
问题 1:如果 Java Plugin 依赖于 NPAPI,为什么我的小程序可以工作?我不明白。
Question 2:Is the Java Plugin for Chrome going to be unsupported in Chrome 45 and, are my Applets going to work in Chrome 45?
问题 2:Chrome 45 是否不支持 Chrome 的 Java 插件,我的小程序是否可以在 Chrome 45 中运行?
回答by kolobok
No.
不。
After the release of Chrome version 45, you'll need to use an alternate web browser to load content that requires a NPAPI plugin.
在 Chrome 45 版发布后,您需要使用备用网络浏览器来加载需要 NPAPI 插件的内容。
回答by Lonzak
Oracle has an FAQfor that:
Oracle 有一个常见问题解答:
"The Java plug-in for web browsers relies on the cross platform plugin architecture NPAPI, which has long been, and currently is, supported by all major web browsers. Google announced in September 2013 plans to remove NPAPI support from Chrome by "the end of 2014", thus effectively dropping support for Silverlight, Java, Facebook Video and other similar NPAPI based plugins. Recently, Google has revised their plans and now state that they plan to completely remove NPAPI by late 2015. As it is unclear if these dates will be further extended or not, we strongly recommend Java users consider alternatives to Chrome as soon as possible. Instead, we recommend Firefox, Internet Explorer and Safari as longer-term options."
”用于 Web 浏览器的 Java 插件依赖于跨平台插件架构 NPAPI,该架构长期以来一直受到所有主要 Web 浏览器的支持。Google 于 2013 年 9 月宣布计划在“年底前从 Chrome 中删除 NPAPI 支持” 2014 年“,从而有效地放弃了对 Silverlight、Java、Facebook Video 和其他类似的基于 NPAPI 的插件的支持。最近,谷歌修改了他们的计划,现在表示他们计划在 2015 年底之前完全删除 NPAPI。目前尚不清楚这些日期是否无论是否会进一步扩展,我们强烈建议 Java 用户尽快考虑 Chrome 的替代品。相反,我们建议将 Firefox、Internet Explorer 和 Safari 作为更长期的选择。”
So to answer your question: No.
所以回答你的问题:没有。
回答by smorgan
1) Most likely either you re-enabled NPAPI support yourself, or you are in a managed environment that re-enabled NPAPI support for you. You can check chrome://flags to see if it's enabled.
1) 很可能是您自己重新启用了 NPAPI 支持,或者您处于为您重新启用 NPAPI 支持的托管环境中。您可以检查 chrome://flags 以查看它是否已启用。
2) No, your applets won't work in Chrome once NPAPI support is completely removed (that's why the infobar you describe is there).
2) 不,一旦 NPAPI 支持被完全删除,您的小程序将无法在 Chrome 中运行(这就是您描述的信息栏存在的原因)。
回答by Toni
Use Yandex browser it supports NPAPI and is similar to Chrome. https://browser.yandex.com
使用 Yandex 浏览器,它支持 NPAPI,类似于 Chrome。 https://browser.yandex.com
回答by alexp
We have just released in Beta a Chrome extension (https://chrome.google.com/webstore/detail/cheerpj-applet-runner-bet/bbmolahhldcbngedljfadjlognfaaein) that restores applets support in Chrome. The extension is secure, fully client based and does not install any binary plugin. Give it a try.
我们刚刚在 Beta 版中发布了一个 Chrome 扩展程序 ( https://chrome.google.com/webstore/detail/cheerpj-applet-runner-bet/bbmolahhldcbngedljfadjlognfaaein),它恢复了 Chrome 中的小程序支持。该扩展是安全的,完全基于客户端,并且不安装任何二进制插件。试一试。