@Nullable
  protected Sdk resolveProjectJdk(@NotNull WizardContext context) {
    Project project = context.getProject() != null ? context.getProject() : ProjectManager.getInstance().getDefaultProject();
    final Pair<String, Sdk> sdkPair = ExternalSystemJdkUtil.getAvailableJdk(project);
    if (!ExternalSystemJdkUtil.USE_INTERNAL_JAVA.equals(sdkPair.first)) {
      return sdkPair.second;
    }
    return null;
  }
@Nullable
  protected Sdk resolveProjectJdk(@NotNull WizardContext context)