支持JVM的平台
Java号称“一次编写,到处执行”,但我想知道它真的无处不在吗?
java程序的执行依赖于JVM,不知道有多少操作系统支持JVM。
我去了一个oracle(以前是sun)网站查看Java的规范,只有Windows、Linux和Solaris。这就是全部吗?我从来没有听说过有人在VMS系统中执行Java。但是,我不知道这是列表,它没有 AIX,我确信它可以运行 java 程序。
Java was claimed to be "Once write, execute everywhere", but I wonder is it really everywhere?
The execution of java program relies on the JVM, and I don't know how many operating systems support JVM.
I went to a oracle(previously sun) website to check for the specification of Java, it only have Windows, Linux and Solaris. Is that all? I've never heard people execute Java in VMS system. However, I don't this is the list, it doesn't have AIX, which I am sure it can run java program.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Oracle 本身并不为所有可能的操作系统实现 JVM。 Oracle 有适用于 Windows、Linux 和 Solaris 的 JVM,但对于其他操作系统,您必须联系操作系统制造商。 HP 有针对 HP-UX 的 JVM 实现,IBM 有针对 AIX 的 JVM 实现。
直到最近,Apple 才有了自己的 Mac OS X JVM 版本,但他们现在正在与 Oracle 合作,以便将来 Oracle 将维护 Mac OS X 的 JVM。
几年前,我参与了一个使用 Java 的项目在 OpenVMS 上,但它的支持很差并且有错误,然后我们切换到 Red Hat Enterprise Linux,它运行得更好更快。
Oracle does not implement the JVM for all possible operating systems themself. Oracle has a JVM for Windows, Linux and Solaris but for other operating systems you have to go to the manufacturer of the operating system. HP has a JVM implementation for HP-UX, and IBM has a JVM implementation for AIX.
Until recently Apple had their own version of the JVM for Mac OS X but they are now working together with Oracle so that in the future Oracle will maintain the JVM for Mac OS X.
A few years ago I worked on a project where we used Java on OpenVMS, but it was poorly supported and buggy, and then we switched to Red Hat Enterprise Linux which worked much better and faster.
WORA 真正的意思是一次编写,在任何有 JVM 实现的地方运行。这是已知实现列表。
(OpenVMS 在该页面上被列为专有实现,并且似乎可以在此处获得)
WORA really means write once, run anywhere that has a JVM implementation. Here's a list of known implementations.
(OpenVMS is listed as a proprietary implementation on that page, and seems be be available here)