@Nullable
  private static JavaVersion getJavaVersion(@NotNull InstalledJdk jdk) {
    try {
      return jdk.getJavaVersion();
    }
    catch (IllegalArgumentException e) {
      return null;
    }
  }
@Nullable
  private static JavaVersion getJavaVersion(@NotNull InstalledJdk jdk)