code: public SparkLauncher setSparkHome(String sparkHome) {
      checkNotNull(sparkHome, "sparkHome");
      builder.childEnv.put(ENV_SPARK_HOME, sparkHome);
      return this;
    }
docs: Set a custom Spark installation location for the application.
  
  @param sparkHome Path to the Spark installation to use.
  @return This launcher.