Access denied on Windows7 64bit

Oti ohumbel at gmail.com
Mon Nov 19 09:51:27 PST 2012


Hi all,

recently I joined the AdoptOpenJDK program and started to test the new
build on Windows.
You can find a list what I did here:
http://java.net/projects/adoptopenjdk/pages/BuildWindows.

The disabling of ASLR really helped: Before that I got a never ending
hotspot build with 0% CPU load.
Now hotspot builds just fine, thanks for the tip in
http://mail.openjdk.java.net/pipermail/build-dev/2012-February/005594.html!

What I am stuck with now is an Access denied stack trace.
I can reproduce it as many times I want, like this:


ohumbel at WIN-B8PK3J3J70Q ~
$ cd /cygdrive/c/OpenJDK/jdk8_tl/common/makefiles/

ohumbel at WIN-B8PK3J3J70Q /cygdrive/c/OpenJDK/jdk8_tl/common/makefiles
$ make clean-langtools
Cleaning langtools build artifacts ... done

ohumbel at WIN-B8PK3J3J70Q /cygdrive/c/OpenJDK/jdk8_tl/common/makefiles
$ make langtools-only
Building OpenJDK for target 'langtools-only' in configuration
'windows-x86_64-normal-server-release
            '

## Starting langtools
Compiling 2 files for BUILD_TOOLS
Compiling 23 properties into resource bundles
Compiling 673 files for BUILD_BOOTSTRAP_LANGTOOLS
Creating langtools/dist/bootstrap/lib/javac.jar
Compiling 676 files for BUILD_FULL_JAVAC
Creating langtools/dist/lib/classes.jar
java.io.FileNotFoundException:
com\sun\tools\doclets\internal\toolkit\resources\background.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)
BuildLangtools.gmk:186: recipe for target
`/cygdrive/c/OpenJDK/jdk8_tl/build/windows-x86_64-normal-server-release/langtools/dist/lib/classes.jar'
failed
make[1]: ***
[/cygdrive/c/OpenJDK/jdk8_tl/build/windows-x86_64-normal-server-release/langtools/dist/lib/classes.jar]
Error 1
/cygdrive/c/OpenJDK/jdk8_tl/common/makefiles//Main.gmk:75: recipe for
target `langtools-only' failed
make: *** [langtools-only] Error 2


Interestingly, it is always the same background.gif which appears in the
error message.
>From the above mentioned mail thread I guess that this could have something
to to with Security Software (Anti-Virus, ...)
I use Microsoft Security Essentials and
 - disabled all real time access
 - excluded the whole jdk folder
 - excluded the whole cygwin folder
, but without any effect.

Hopefully somebody on this list has a tip what I could try next.

Thanks in advance, and best wishes,
Oti.


PS.
I am running a VM inside VMware Fusion on a Macbook Air



More information about the build-infra-dev mailing list