gpt4 book ai didi

java - 如何使用 OSX Lion 在 Mac 上使用 Java 进行开发

转载 作者:太空狗 更新时间:2023-10-29 22:49:15 24 4
gpt4 key购买 nike

我是一名新的 Java 开发人员,正在考虑购买 Mac。但是我听说 OSX Lion 不支持 Java。这是否意味着我不能在 Mac 上开发 Java?或者我只需要自己去获取所有 Java 下载?

最佳答案

就目前而言,这意味着什么都没有改变,除了 JDK 6 和更高版本现在是通过软件更新单独下载的。对于 JDK 7,它将可以从 Oracle 获得,甚至可能如果我们幸运的话,可以通过 App Store!

发生的事情是 Apple 已经停止将他们自己的 JDK 混入操作系统和 delegating responsibility to Oracle to supply a JDK for OSX going forward .它不是默认安装的,但事实上 就像在除 Solaris 以外的所有其他平台上一样。可以说这将是一件好事,因为 Apple JDK 通常比官方的 Sun/Oracle JDK 滞后 6 个月以上。在所有平台上拥有对技术更感兴趣的人是一件好事!

原始新闻稿

As of the release of Java for Mac OS X 10.6 Update 3, the version of Java that is ported by Apple, and that ships with Mac OS X, is deprecated. This means that the Apple-produced runtime will not be maintained at the same level, and may be removed from future versions of Mac OS X. The Java runtime shipping in Mac OS X 10.6 Snow Leopard, and Mac OS X 10.5 Leopard, will continue to be supported and maintained through the standard support cycles of those products.

最近相关press release是(我把重点放在BOLD)

REDWOOD SHORES and CUPERTINO, California—November 12, 2010—Oracle and Apple® today announced the OpenJDK project for Mac OS® X. Apple will contribute most of the key components, tools and technology required for a Java SE 7 implementation on Mac OS X, including a 32-bit and 64-bit HotSpot-based Java virtual machine, class libraries, a networking stack and the foundation for a new graphical client. OpenJDK will make Apple’s Java technology available to open source developers so they can access and contribute to the effort.

“We are excited to welcome Apple as a significant contributor in the growing OpenJDK community,” said Hasan Rizvi, Oracle’s senior vice president of Development. “The availability of Java on Mac OS X plays a key role in the cross-platform promise of the Java platform. The Java developer community can rest assured that the leading edge Java environment will continue to be available on Mac OS X in the future. Combined with last month’s announcement of IBM joining the OpenJDK, the project now has the backing of three of the biggest names in software.”

“We’re delighted to be working with Oracle to insure that there continues to be a great version of Java on the Mac,” said Bertrand Serlet, Apple’s senior vice president of Software Engineering. “The best way for our users to always have the most up to date and secure version of Java will be to get it directly from Oracle.”

Apple also confirmed that Java SE 6 will continue to be available from Apple for Mac OS X Snow Leopard® and the upcoming release of Mac OS X Lion. Java SE 7 and future versions of Java for Mac OS X will be available from Oracle.

我个人认为 OSX 是 Java 开发的首选平台,只要 Oracle 不失误,它就会变得更好。

关于java - 如何使用 OSX Lion 在 Mac 上使用 Java 进行开发,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6765905/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com