Digging deeper within JDK code, this is the check being used for POSIX
from java.nio.file.TempFileHelper
private static final boolean isPosix =
FileSystems.getDefault().supportedFileAttributeViews().contains("posix");
You can use this check.