So many thanks for your help. Indeed it solves the problem. And now I have my first build.
But it worth mentioning that in the first try it failed, and I have to use --disable-ccache My ccache is: ccache version 3.1.8 Copyright (C) 2002-2007 Andrew Tridgell Copyright (C) 2009-2011 Joel Rosdahl The errors I get: f:\Dev\JDK8Build\L6\build\windows-x86_64-normal-server-release\jdk\classes\java\nio\channels\SelectionKey.class: major version 52 is newer than 51, the highest major version supported by this compiler. It is recommended that the compiler be upgraded. make[3]: Leaving directory `/cygdrive/f/Dev/JDK8Build/L6/jdk/makefiles' make[3]: Entering directory `/cygdrive/f/Dev/JDK8Build/L6/jdk/makefiles' Could not start process! *CompileNativeLibraries.gmk:81: recipe for target `/cygdrive/f/Dev/JDK8Build/L6/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.obj' failed* make[3]: *** [/cygdrive/f/Dev/JDK8Build/L6/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.obj] Error 127 make[3]: *** Waiting for unfinished jobs.... Could not start process! *CompileNativeLibraries.gmk:81: recipe for target `/cygdrive/f/Dev/JDK8Build/L6/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_asin.obj' failed* make[3]: *** [/cygdrive/f/Dev/JDK8Build/L6/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_asin.obj] Error 127 make[3]: Leaving directory `/cygdrive/f/Dev/JDK8Build/L6/jdk/makefiles' Once again, Thank you so much Boaz On Mon, Dec 31, 2012 at 2:14 AM, Erik Joelsson <erik.joels...@oracle.com>wrote: > Hello, > > What Patrick says is correct. This is a common issue and configure now has > a check that will fail and explain the problem. This probably hasn't > reached lambda yet. > > Basically if you clone the source using mercurial that isn't cygwin > mercurial, into a directory that wasn't created by cygwin, all the cloned > files get no read permission in cygwin. The simple solution is to create > the directory "L2" in your case, with mkdir in cygwin and do a new clone. > > /Erik > > > On 2012-12-31 10:15, Patrick Reinhart wrote: > >> Hi Boaz, >> >> Have you created the "L2" directory within cygwin prior doing the check >> out? When creating the Adopt OpenJDK Windows Build Wiki >> (http://java.net/projects/**adoptopenjdk/pages/**BuildWindows<http://java.net/projects/adoptopenjdk/pages/BuildWindows>) >> this solved the access problems. >> >> Cheers Patrick >> >> Am 30.12.12 21:53, schrieb Boaz Nahum: >> >>> Some more input, I tried with --with-num-cores=1, and I have much more >>> progress, but eventually it failed on other file: >>> >>> Compiling 24 files for BUILD_JAF >>> Note: Some input files use unchecked or unsafe operations. >>> Note: Recompile with -Xlint:unchecked for details. >>> Creating jaxws/dist/lib/classes.jar >>> java.io.FileNotFoundException: >>> com\sun\tools\internal\jxc\**gen\config\config.xsd (Access is denied) >>> at java.io.FileInputStream.open(**Native Method) >>> at java.io.FileInputStream.<init>**(FileInputStream.java:138) >>> at sun.tools.jar.Main.copy(Main.**java:791) >>> at sun.tools.jar.Main.addFile(**Main.java:740) >>> at sun.tools.jar.Main.update(**Main.java:592) >>> at sun.tools.jar.Main.run(Main.**java:223) >>> at sun.tools.jar.Main.main(Main.**java:1177) >>> BuildJaxws.gmk:79: recipe for target >>> `/cygdrive/f/Dev/JDK8Build/L2/**build/windows-x86_64-normal-**server-release/jaxws/dist >>> >>> /lib/classes.jar' failedmake >>> [2]: *** >>> [/cygdrive/f/Dev/JDK8Build/L2/**build/windows-x86_64-normal-** >>> server-release/jaxws/dist/lib/**classes.jar] >>> Error 1mak >>> e[2]: Leaving directory `/cygdrive/f/Dev/JDK8Build/L2/**jaxws/makefiles' >>> >>> /cygdrive/f/Dev/JDK8Build/L2/**common/makefiles//Main.gmk:93: recipe for >>> target `jaxws-only' failed >>> make[1]: *** [jaxws-only] Error 2 >>> make[1]: Leaving directory >>> `/cygdrive/f/Dev/JDK8Build/L2/**build/windows-x86_64-normal-**server-release' >>> >>> NewMakefile.gmk:63: recipe for target `all' failed >>> make: *** [all] Error 2 >>> >>> >>> >>> On Sun, Dec 30, 2012 at 12:15 PM, Boaz Nahum <boazna...@gmail.com> >>> wrote: >>> >>> Hi. >>>> >>>> Since the new build infra I'm trying to compile lambda/lambda on >>>> windows. >>>> I'm getting the error below: >>>> >>>> java.io.FileNotFoundException: >>>> com\sun\tools\doclets\**internal\toolkit\resources\**activetitlebar.gif >>>> (Access >>>> is denied) >>>> at java.io.FileInputStream.open(**Native Method) >>>> at java.io.FileInputStream.<init>**(FileInputStream.java:138) >>>> at sun.tools.jar.Main.copy(Main.**java:791) >>>> at sun.tools.jar.Main.addFile(**Main.java:740) >>>> at sun.tools.jar.Main.update(**Main.java:592) >>>> at sun.tools.jar.Main.run(Main.**java:223) >>>> at sun.tools.jar.Main.main(Main.**java:1177) >>>> >>>> Im using >>>> sh ../autoconf/configure >>>> and then >>>> make >>>> >>>> Meanwhile I'm compiling on Linux, But it is not my 'native' environment. >>>> >>>> I tried different machine, I tried on windows 7 & windows 8. I tried to >>>> uninstall HG GUI interface. >>>> >>>> The error is not a always on the same file. >>>> >>>> Thanks >>>> Boaz >>>> >>>> >>>> >>