Access denied on windows 7

Patrick Reinhart patrick at reini.net
Mon Dec 31 09:15:21 UTC 2012


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) 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 <boaznahum at 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
>>
>>




More information about the build-dev mailing list