Chrome 操作系统是否支持 Java 小程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2148693/
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 Chrome OS support Java applets?
提问by Tomas Andrle
As far as I know there's some kind of Linux in the Chrome OS foundations and Java is already supported there, so I don't see a technical problem. The question is whether or not they want people to run applets at all.
据我所知,Chrome OS 基础中有某种 Linux,并且 Java 已经在那里得到支持,所以我没有看到技术问题。问题是他们是否希望人们运行小程序。
I would certainly appreciate it...
我当然会很感激...
采纳答案by Phil Rykoff
No, there will be no stock support for Java within ChromeOS.
不,ChromeOS 中将不提供对 Java 的库存支持。
No, you should assume that there will be no JRE in stock Chromium OS builds, or in Google Chrome OS.
不,您应该假设股票 Chromium OS 版本或 Google Chrome OS 中没有 JRE。
Phrase is by Chris Masone. Having an @chromium.org-Mail-Adress, he should know what he says.
短语是克里斯·梅森 (Chris Masone) 的。拥有@chromium.org-Mail-Adress,他应该知道他在说什么。
He also states, that
他还指出,
the community is more than welcome to adapt the chromium os code as they desire. If folks want to get java working on Chromium OS, please go ahead.
社区非常欢迎根据他们的需要调整chromium os 代码。如果人们想让 Java 在 Chromium OS 上工作,请继续。
imho: Yes, somewhere in the future, there will be someone porting an (maybe open source) JDK/JRE to comply with Chrome OS, as there are already Java DK/RE for Linux nowadays. There are even screenshots available today which show java code being executed within Chrome.
imho:是的,在未来的某个地方,会有人移植(可能是开源的)JDK/JRE 以符合 Chrome 操作系统,因为现在已经有适用于 Linux 的 Java DK/RE。今天甚至有屏幕截图显示在 Chrome 中执行的 Java 代码。
edit: according to blog post with images as proof: Yes, mostly sure!Well - still not out of the box, but after probably modifying the repositoriy list, a
编辑:根据以图片为证据的博客文章:是的,几乎可以肯定!好吧 - 仍然不是开箱即用的,但是在可能修改了存储库列表之后,一个
sudo apt-get install sun-java6-jre
should do it, as it's ubuntu based. If we don't trust this news, the chance is still very high that google forks another distribution and customizes that one only on the surface, so that we can apt-get/urpmi/...
应该这样做,因为它是基于 ubuntu 的。如果我们不相信这个消息,那么google fork另一个发行版并且只在表面上定制那个发行版的可能性仍然很高,这样我们就可以apt-get/urpmi/...
edit2: according to http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/add-a-new-package/package-management, you can build your own packages and install them. There is a sample for emacs, so java should be no problem.
编辑 2:根据http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/add-a-new-package/package-management,您可以构建自己的软件包并安装它们。emacs有sample,java应该没问题。
回答by Luis
I have a CR-48 with Chrome OS and it does not support applets currently. No idea if that will change.
我有一个带有 Chrome 操作系统的 CR-48,它目前不支持小程序。不知道这是否会改变。
Personally, I think it would be nice to have applet support. The CR-48 supports the proprietary flash plugin, it should support the open source java plugin as well.
就个人而言,我认为有小程序支持会很好。CR-48 支持专有的 flash 插件,它应该也支持开源的 java 插件。
回答by defectivehalt
I think Java applets would be popular with Chrome OS actually; the OS's philosophy is centered on a web browser being the main function or medium for everything. AFAIK Java is open source (or almost there) and supported on Linux & the Chrome browser. So yes.
我认为 Java 小程序实际上会在 Chrome OS 中流行;操作系统的理念以网络浏览器为中心,成为一切的主要功能或媒介。AFAIK Java 是开源的(或几乎开源)并且支持 Linux 和 Chrome 浏览器。所以是的。
回答by Reverend Gonzo
回答by OscarRyz
Yes.
是的。
It won't be shipped out of the box, but since there is a Linux version, and GCOS is basically Linux, then it will run as any other plugin.
它不会开箱即用,但既然有 Linux 版本,而且 GCOS 基本上是 Linux,那么它会像任何其他插件一样运行。
It is hard to speculate about it, but basically the answer is it will because it does on Linux already.
很难推测它,但基本上答案是它会,因为它已经在 Linux 上运行了。
Now; Will it be transparent and run the just by installing the Sun's version ( or any other version ) with out changes? I bet it won't. The Java community will have to work on that version but I'm pretty sure that eventually you'll be able to run Applets on ChromeOS.
现在; 它是否透明并仅通过安装 Sun 版本(或任何其他版本)而无需更改即可运行?我打赌不会。Java 社区将不得不在该版本上工作,但我很确定您最终将能够在 ChromeOS 上运行小程序。
回答by Clasic
Flow (a Haxxeh build of Chromium OS) currently supports Java. It's now simply an update.
Flow(Chromium OS 的 Haxxeh 构建)目前支持 Java。现在只是一个更新。
回答by atomic1fire
Doing so would be the smart thing to do, Flash should probably be supported (especially since flash support is now built into chrome) Who says that developers have to only use html5 stuff? Object and embed tags are still a big part of the web experience, I could easily see some of the difficult stuff being done in java or flash. Flash games could have a big marketplace in chrome os. so could java apps, especially if they are just applets embeded into webpages. I'm all for a move to html5, but to limit every other part of the user experience just hurts the developers and the user. Plugins should be sandboxed for security, but not limited outright. 3d games could be supported in more then one way, harder to do apps like telnet or irc could be done in java Yeah, I know about mibbet but I say keep plugins until they are no longer vital as an option. You can do a lot with the web, but plugins are still a part of that web.
这样做是明智之举,应该支持 Flash(特别是因为 Flash 支持现在内置于 chrome 中) 谁说开发人员必须只使用 html5 的东西?Object 和 embed 标签仍然是 Web 体验的重要组成部分,我可以很容易地看到一些用 java 或 flash 完成的困难的事情。Flash 游戏可能在 chrome os 中有一个很大的市场。Java 应用程序也是如此,尤其是当它们只是嵌入到网页中的小程序时。我完全赞成转向 html5,但限制用户体验的所有其他部分只会伤害开发人员和用户。为了安全起见,插件应该被沙箱化,但不完全限制。可以通过多种方式支持 3d 游戏,像 telnet 或 irc 这样更难做的应用程序可以在 Java 中完成是的,我知道 mibbet,但我说保留插件直到它们不再是重要的选项。您可以在网络上做很多事情,但插件仍然是网络的一部分。

