JavaFX 2 和 Linux
JavaFX 2 尚不支持 Linux。这是否意味着客户端 Linux 计算机(用户计算机)无法运行它或服务器 Linux 计算机(主机)无法运行它,或者两者都无法运行?
*编辑:*
JavaFX 适用于富客户端。所以服务器不会运行它,而是存储它,客户端将获取它并运行它,对吗?
JavaFX 2 is not support Linux yet. Does this mean a client Linux machine (user machine) cannot run it or a server Linux machine (host machine) cannot run it or both?
*EDIT:*
JavaFX is for rich client. So the server will not run it, but store it and client will get it and run it, right?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
JavaFx依赖于硬件加速来运行。 Linux 目前不支持此功能(预计 2012 年)。因此,如果您的服务器正在执行 JavaFx 代码,那么它不会在服务器上运行。如果它只是向客户端提供代码,就像在小程序中一样,那么它就可以工作。
JavaFx depends on hardware acceleration to run. This is currently not supported on linux (expected 2012). So if your server is executing JavaFx code, then it would not run on the server. If it is only delivering code to clients, like in an applet, then it would work.
这意味着您无法在运行 Linux 的计算机上使用 JavaFX 库。客户端 Linux 计算机和服务器 Linux 计算机都无法使用它们。
响应编辑
您仍然可以在 Linux 计算机上存储和提供 JavaFX 代码。您只是无法在 Linux 计算机上执行 JavaFX 代码。
请注意,JavaFX 与 Java 不同。您仍然可以在 Linux 计算机上使用 Java。
It means you can't use the JavaFX libraries on a machine running Linux. Neither a client Linux machine, nor a server Linux machine can use them.
Response to Edit
You can still store and serve JavaFX code on Linux machines. You just can't execute the JavaFX code on a Linux machine.
Note that JavaFX is different from Java. You can still use Java on Linux machines.
我意识到这个问题是不久前提出的(11/2011),但我认为指出 OpenJDK 社区中名为 OpenJFX。如果您也有资格的话,请随时帮助开发。鉴于 Linux 的安全特性,该项目应该证明是一种利用“硬件加速运行”的安全/安全方式;不过,它仍处于开发阶段。
查看项目 wiki,了解如何在 Linux 上构建 OpenJFX 。
I realize this question was posed a while back (11/2011), but I thought it might help to point out the related Open Source project from the OpenJDK community called OpenJFX. Feel free to help out with development, if you're qualified to do so as well. Given the secure nature of Linux, this project should prove a secure/safe way to utilize the "hardware acceleration to run"; though, it's still in the development stages.
Take a look at the project wiki to learn how to build OpenJFX on Linux.