title: Hadoop installation on windows
body: <p>After extracting hadoop in my C drive I tried to execute the hadoop version command and getting below error. <code>JAVA_HOME</code> is set correctly in my environment variable. Can anybody help on that error ?</p>
  
  <pre><code>C:\&gt;hadoop version 
  
  The system cannot find the path specified.
  Error: JAVA_HOME is incorrectly set.
  Please update C:\hadoop-2.5.1\conf\hadoop-env.cmd '-Xmx512m' is not recognized as an internal or external command, ooperable program or batch file.
  </code></pre>