public static void writeWrapperFile(@NotNull File wrapperFile,
                                      @NotNull List<String> classpath,
                                      @NotNull String lineSeparator,
                                      @NotNull Charset cs) throws IOException {
    try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(wrapperFile), cs))) {
      for (String path : classpath) {
        writer.write(path);
        writer.write(lineSeparator);
      }
    }
  }
public static void writeWrapperFile(@NotNull File wrapperFile,
                                      @NotNull List<String> classpath,
                                      @NotNull String lineSeparator,
                                      @NotNull Charset cs)