Mac OS X Server 上的 Java:游戏结束了吗?
作为目前正在开发使用 Java/Tomcat 后端的 Web 应用程序的开发人员,Apple 最近宣布弃用 Java 让我有些惊愕。主要是因为我计划在 Mac OS X Server 上托管这个 Web 应用程序(已经在 10.5 上,很快就会在 10.6 上)。
来自 http://www.appleoutsider.com/2010/10/22/java/< /a>:
自从英特尔转型以来,为 Darwin 构建服务器虚拟机几乎是微不足道的。
这是真的吗?是否有文档描述如何为 Mac OS X Server 构建无头 Java VM?
As a developer currently working on a Web app that uses a Java/Tomcat backend, the recent announcement by Apple to deprecate Java is causing me some consternation. Mainly because I'm planning on hosting this Web app on Mac OS X Server (already on 10.5, soon to be on 10.6).
From http://www.appleoutsider.com/2010/10/22/java/:
Since the Intel transition, building a server VM for Darwin is almost trivial.
Is this actually true? Is there a document somewhere that describes how to build a headless Java VM for Mac OS X Server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该能够在 Mac OS X 上轻松构建 OpenJDK。它只有 Windows 和 X11 前端,但由于您需要一个无头 JVM,所以这对您来说应该不是问题。
OpenJDK 的预构建二进制文件也可用于 Mac OS X。请参阅 SoyLatte 项目(可能需要 Java 研究许可证):
请注意,SoyLatte 最近已成为 OpenJDK BSD-Port 项目的一部分:
You should be able to build OpenJDK on Mac OS X without much trouble. It only has Windows and X11 frontends but since you are asking for a headless JVM, this should not be a problem for you.
Pre-built binaries of OpenJDK are also available for Mac OS X. See the SoyLatte project (a Java Research License may be required):
Note that SoyLatte has recently become part of the OpenJDK BSD-Port project:
OS X Snow Leopard 上的 OpenJDK 构建说明可在 http://wikis.sun.com/ 找到显示/OpenJDK/BSDPort。显然。 Tomcat 与 OpenJDK 一起运行良好,因此您不应该遇到任何实际问题(即使 Oracle 从未采取行动并提供“官方”JDK)。
Build instructions for OpenJDK on OS X Snow Leopard can be found at http://wikis.sun.com/display/OpenJDK/BSDPort. Apparently. Tomcat runs fine with OpenJDK, so you shouldn't have any real problems (even if Oracle never step up and provide an "official" JDK).