title: Spark 1.6-Failed to locate the winutils binary in the hadoop binary path
body: <p>I know that there is a very similar post to this one(<a href="https://stackoverflow.com/questions/19620642/failed-to-locate-the-winutils-binary-in-the-hadoop-binary-path">Failed to locate the winutils binary in the hadoop binary path</a>), however, I have tried every step that was suggested and the same error still appears.</p>
  
  <p>I'm trying to use the Apache Spark version 1.6.0 on Windows 7 to perform the tutorial on this page <a href="http://spark.apache.org/docs/latest/streaming-programming-guide.html" rel="noreferrer">http://spark.apache.org/docs/latest/streaming-programming-guide.html</a>, specifically using this code:</p>
  
  <pre><code>./bin/run-example streaming.JavaNetworkWordCount localhost 9999
  </code></pre>
  
  <p>However, this error keeps appearing:
  <a href="https://i.stack.imgur.com/1HiPo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1HiPo.png" alt="enter image description here"></a></p>
  
  <p>After reading this post 
  <a href="https://stackoverflow.com/questions/19620642/failed-to-locate-the-winutils-binary-in-the-hadoop-binary-path">Failed to locate the winutils binary in the hadoop binary path</a></p>
  
  <p>I realized I needed the winutils.exe file, so I have downloaded a hadoop binary 2.6.0 with it, defined an Environment Variable called HADOOP_HOME:</p>
  
  <pre><code> with value C:\Users\GERAL\Desktop\hadoop-2.6.0\bin  
  </code></pre>
  
  <p>and placed it on Path like this: %HADOOP_HOME%</p>
  
  <p>Yet the same error still appears when I try the code. Does anyone know how to solve this? </p>