title: Error: Could not find or load main class org.apache.hadoop.util.VersionInfo
body: <p>Hi I have just started learing Hadoop. I am following "Hadoop The definitive guide" book. While setting up Hadoop in Window 7 following "Apendix A" of the book, I am getting error </p>
  
  <p>"<code>Error: Could not find or load main class org.apache.hadoop.util.VersionInfo</code>" </p>
  
  <p>when I am running the command</p>
  
  <p><code>hadoop version</code></p>
  
  <p>Can anyone have an idea how to correct this or tell me what I am missing?
  I am using Cygwin64.
  <img src="https://i.stack.imgur.com/OScOU.png" alt="enter image description here"></p>