This tool is almost identical to create_pyspark_batch, but for Java Spark batches. There are some minor differences in how the main files and args are provided.