简体   繁体   中英

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)?

Something like JDK Build instructions v6u23 , for the source code available at http://download.java.net/jdk6/source/ .

Googling for an hour just gives me how to use java on Mac.

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 .

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). This is why people got scared when Apple said they would stop shipping Java with OS X.

However, Apple then announced that they would contribute those necessary packages to Oracle, so Oracle could build the OpenJDK VM for OSX. Additionally, there won't be a Java7 version on OS X, this will be strictly OpenJDK.

You can build that version on OSX. The following provides some instructions as well as a slew of links: http://code.google.com/p/openjdk-osx-build/wiki/DoItYourself

You may also want to look into SoyLatte: http://landonf.bikemonkey.org/static/soylatte/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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