如何使用OSX Lion在Mac上开发Java [英] How to develop in Java on Mac with OSX Lion

查看:131
本文介绍了如何使用OSX Lion在Mac上开发Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Im a new Java developer and was thinking about getting a Mac. But I heard that OSX Lion does not support Java. Does that mean that I cannot develop Java on a Mac? Or that I just have to go get all the Java downloads myself?

推荐答案

现在意味着什么,是没有任何改变,除了JDK 6和现在通过软件更新单独下载。对于JDK 7,它可以从Oracle获得,甚至可以通过App Store获得,如果我们幸运的话!

What it means for right now, is nothing has changed, except that the JDK 6 and on is now a separate download via Software Update. For JDK 7 it will be available from Oracle, maybe even through the App Store if we are lucky!

发生的事情是Apple已经退出将自己的JDK分配到操作系统中并且委派Oracle负责为OSX提供JDK 。默认情况下不会安装它,但事后就像在Solaris以外的所有其他平台上一样。可以说这将是一件好事,因为Apple JDK通常落后于官方Sun / Oracle的6个月。在所有平台上拥有对该技术更多既得利益的人是一件好事!

What has happened is Apple has quit mangling their own JDK into the OS and delegating responsibility to Oracle to supply a JDK for OSX going forward. It isn't installed by default, but after the fact just like on every other platform other than Solaris. Arguably this will be a good thing, as the Apple JDK usually lags 6 months plus behind the official Sun/Oracle one. Having someone with a more vested interest in the technology on all the platforms is a good thing!

原始新闻稿


自Java for Mac OS X 10.6 Update 3发布以来,由Apple移植的
Java版本以及随Mac OS一起提供的版本X,不推荐使用
。这意味着Apple生产的运行时不会保持在同一级别的
,并且可能会从Mac OS X的未来版本
中删除.Mac OS X 10.6 Snow Leopard中的Java运行时发货,$将继续支持b $ b和Mac OS X 10.5 Leopard,并通过这些产品的标准支持周期维持

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.

最近相关新闻稿(我把重点放在 BOLD

And the most recent relevant press release is ( I put the important points in BOLD )


REDWOOD SHORES和加利福尼亚州CUPERTINO - 2010年11月12日-Oracle和
Apple®今天宣布面向MacOS®X的OpenJDK项目。 Apple将
为Mac OS X上的Java SE 7实现贡献了大部分关键组件,工具和技术,需要
,包括32位和
基于64位HotSpot的Java虚拟机,类库,
网络堆栈以及新图形客户端的基础。

OpenJDK将使Apple的Java技术可用于开源
开发人员可以访问并为这项工作做出贡献。

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.

我们很高兴欢迎 Apple成为
增长的OpenJDK社区的重要贡献者
,甲骨文高级副总裁兼开发总裁B&B Hasan Rizvi说。 Mac OS X上Java的可用性在Java平台的跨平台承诺中起着关键作用。
Java开发人员社区可以放心,未来Mac OS X上将继续提供领先的Java
环境。
结合上个月IBM加入OpenJDK的公告,
该项目现在得到了b $ b软件中三个大牌的支持。

"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."

我们很高兴与甲骨文公司合作,确保在Mac上继续保持
是一个优秀的Java版本,Bertrand
Serlet说,Apple软件工程高级副总裁。 我们的用户始终拥有最新且最安全的
版Java的最佳方式是直接从Oracle获取它。

"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还确认 Java SE 6将继续从
Apple获得Mac OS XSnowLeopard®和即将发布的Mac OS X
狮子
即可。 Java SE 7和Mac OS X的未来Java版本将是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不丢球就会变成甚至更好。

My personal opinion is OSX is the premiere platform for Java development, and as long as Oracle doesn't drop the ball will just become even better.

这篇关于如何使用OSX Lion在Mac上开发Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆