code: public void setEnvironmentVariables(Map<String, String> environment) {
      for (Map.Entry<String, String> entry : environment.entrySet()) {
        setEnvironmentVariable(entry.getKey(), entry.getValue());
      }
    }
docs: Adds the specified environment variables.
  
  @param environment the variables to add
  @throws IllegalArgumentException if any value given is null (unsupported)