简体   繁体   English

Java SDK Mac OS X构建说明

[英]Java SDK Mac OS X build instructions

Where can I find Java SDK 6 or 7 (Oracle's, not openJDK ) build instructions for Mac OS X (lion/leopard)? 在哪里可以找到Mac OS X(狮子/豹)的Java SDK 6或7(Oracle,不是openJDK )构建说明?

Something like JDK Build instructions v6u23 , for the source code available at http://download.java.net/jdk6/source/ . 类似于JDK构建说明v6u23的源代码可从http://download.java.net/jdk6/source/获得

Googling for an hour just gives me how to use java on Mac. 搜寻一个小时仅给我提供了如何在Mac上使用Java。

ps Source code snapshots repository for JDK 6 and 7 are available at java.net, but jdk.researcher or jdk.contributor role for jdk project are required to access them . ps java.net上提供了JDK 6和7的源代码快照存储库,但访问jdk项目需要jdk.researcher或jdk.contributor角色

If I recall correctly, you could never do this on the Mac, because the codebase is not actually the same as the one available for building on Solaris, Linux and Windows (since it requires additional closed source components). 如果我没记错的话,您永远不可能在Mac上执行此操作,因为代码库实际上与可用于Solaris,Linux和Windows的代码库不同(因为它需要附加的封闭源代码组件)。 This is why people got scared when Apple said they would stop shipping Java with OS X. 这就是为什么当苹果表示将停止在OS X上发布Java时人们感到害怕的原因。

However, Apple then announced that they would contribute those necessary packages to Oracle, so Oracle could build the OpenJDK VM for OSX. 但是,苹果随后宣布,他们将向Oracle提供这些必要的软件包,以便Oracle可以为OSX构建OpenJDK VM。 Additionally, there won't be a Java7 version on OS X, this will be strictly OpenJDK. 另外,OS X上不会有Java7版本,严格来说这将是OpenJDK。

You can build that version on OSX. 您可以在OSX上构建该版本。 The following provides some instructions as well as a slew of links: http://code.google.com/p/openjdk-osx-build/wiki/DoItYourself 以下内容提供了一些说明以及许多链接: http : //code.google.com/p/openjdk-osx-build/wiki/DoItYourself

You may also want to look into SoyLatte: http://landonf.bikemonkey.org/static/soylatte/ 您可能还需要研究SoyLatte: http ://landonf.bikemonkey.org/static/soylatte/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM