title: Spark - Error: Could not find or load main class org.apache.spark.launcher.Main
body: <p>I just started playing with Spark and I'm already struggling. I just downloaded Spark's <code>spark-1.6.1-bin-hadoop2.4</code> and tried to open PySpark Shell <code>./bin/pyspark</code> but I was unfortunately prompted the following:</p>
  
  <pre><code>Error: Could not find or load main class org.apache.spark.launcher.Main
  </code></pre>
  
  <p>environment:</p>
  
  <ul>
  <li>Ubuntu 14.04.4 64-Bit</li>
  <li>Java version "1.8.0_77" </li>
  <li>Python 2.7.6</li>
  <li>Spark 1.6.1 Pre-build for Hadoop 2.4 and later</li>
  </ul>
  
  <p>Any clues how to troubleshoot this?</p>
  
  <p><strong>It works fine with Spark 1.2.0 Pre-build for Hadoop 2.4 and later</strong></p>