https://bz.apache.org/bugzilla/show_bug.cgi?id=62330
--- Comment #8 from Stefan Bodewig <bode...@apache.org> --- <project> <exec executable="java.exe" output="nul"/> </project> > java -fullversion openjdk full version "1.8.0_265-b01" I can try a different JDK, if you want. Stacktrace starts with C:\Users\Stefan Bodewig\ant\test.xml:2: Execute failed: java.nio.file.FileSystemException: C:\Users\Stefan Bodewig\ant\nul: Incorrect function. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230) at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(Files.java:216) at org.apache.tools.ant.util.LazyFileOutputStream.ensureOpened(LazyFileOutputStream.java:162) -- You are receiving this mail because: You are the assignee for the bug.