private static @Nullable String checkBinDir(@NotNull File binDir) {
    if (!binDir.exists()) {
      return null;
    }

    File fe = new File(binDir, WIN_EXECUTABLE);
    if (fe.exists()) {
      return fe.getPath();
    }

    return null;
  }
private static @Nullable String checkBinDir(@NotNull File binDir)