I was trying to run spark-submit and I get
\"Failed to find Spark assembly JAR.
You need to build Spark before running this program.\"
When I try to run spark-shell
If your spark binaries are in a folder where the name of the folder has spaces (for example, "Program Files (x86)"), it didn't work. I changed it to "Program_Files", then the spark_shell command works in cmd.