title: Unable to run Hadoop on windows 7
body: <p>I am new to Hadoop and trying to run it on Windows 7.
  Whenever I am trying to run hadoop bash script, I get the following error :</p>
  
  <pre><code>'-Xmx32m' is not recognized as an internal or external command,
  operable program or batch file.
  Usage: hadoop [--config confdir] COMMAND
  where COMMAND is one of:
    fs                   run a generic filesystem user client
    version              print the version
    jar &lt;jar&gt;            run a jar file
    checknative [-a|-h]  check native hadoop and compression libraries availability
    distcp &lt;srcurl&gt; &lt;desturl&gt; copy file or directories recursively
    archive -archiveName NAME -p &lt;parent path&gt; &lt;src&gt;* &lt;dest&gt; create a hadoop archive
    classpath            prints the class path needed to get the
                         Hadoop jar and the required libraries
    credential           interact with credential providers
    key                  manage keys via the KeyProvider
    daemonlog            get/set the log level for each daemon
   or
    CLASSNAME            run the class named CLASSNAME
  
  Most commands print help when invoked w/o parameters.
  </code></pre>
  
  <p>Also, when I run hdfs command ,
  I get the following error :</p>
  
  <pre><code>-Xms1000m is not recognized as in internal or external command.
  </code></pre>
  
  <p>When I try to pass -Xmx and -Xms arguments, I get the following message :</p>
  
  <pre><code>Error occurred during initialization of VM
  Could not reserve enough space for object heap
  </code></pre>
  
  <p>Can anyone help me out on this ?</p>