New official README-builds.html

Kelly O'Hair kelly.ohair at oracle.com
Mon Mar 4 08:02:20 PST 2013


Using any paths with blanks in them is a risk, I would use a boot jdk that has a path without spaces.

I also never use the java installed by any automated process, or system update mechanism because
your boot jdk could change on you at any time.
I get the jdk image needed, e.g. 7u7 or whatever, put it in a simple short directory, and keep it safe.

Predictable build results is a matter of minimizing the variability, so you really never want to use
things that are constantly changing on you. Some things you cannot control, but some you can.

I am not a MSYS user, but I have heard there were some stability issues, so step one might be to use
 --with-num-cores=1 to start, until you get it working.

-kto

On Mar 1, 2013, at 11:20 AM, Akhil Arora wrote:

> Hi Kelly
> 
> I can build without any problems on linux. I'm trying to follow the instructions in the new README to build on Windows 7 with MSYS, but my build gets stuck, the output on the console with LOG=debug is
> 
> make[1]: Entering directory `/d/nashorn/langtools/makefiles'
> /bin/mkdir -p /d/nashorn/build/windows-x86_64-normal-server-release/langtools/btclasses/bootstrap/com/sun/tools/doclets/internal/toolkit/resources
> /bin/mkdir -p /d/nashorn/build/windows-x86_64-normal-server-release/langtools/btclasses/bootstrap/com/sun/tools/doclets/internal/toolkit/resources
> 
> I checked, this dir has been created, but the build gets stuck at this step for a long time. The only process running (in Task Manager) at this time is make. The flags I used for configure are -
> 
> $ bash ./configure --prefix=/d --disable-headful -with-freetype=/d/freetype-i586 --with-boot-jdk=/d/Program\ Files/Java/jdk1.7.0 --with-num-cores=2 --with-memory-size=2048 --with-boot-jdk-jvmargs=-Xmx2g
> 
> Any ideas?
> 
> On 3/1/2013 9:18 AM, Kelly O'Hair wrote:
>> 
>> Please do not 'reply all', send concerns or issues to just the build-dev or build-infra-dev aliases.
>> 
>> The very latest README-builds.html file is:
>>    http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html
>> 
>> This documents the new build makefiles only.
>> As with all documents of this type, it will always be a work in progress.
>> 
>> -kto
>> 
> 




More information about the build-infra-dev mailing list