title: Not able to run the java example of WordCount-Compiler issue
body: <p>Mentioned below is the error that i am getting when trying to execute the java version of the WordCout. I was able to compile the same successfully but i am not able to figure out why it is cribbing now. i tried all combinations of the library path, thinking some dependency issue, but still stuck. Any help would be appreciated.</p>
  
  <pre><code>root@ubuntu:/opt/hadoop# java -cp lib/commons-cli-1.2.jar:hadoop-core-1.0.0.jar . /src/examples/org/apache/hadoop/examples/WordCount
  Exception in thread "main" java.lang.NoClassDefFoundError: /
  Caused by: java.lang.ClassNotFoundException: .
      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
  Could not find the main class: .. Program will exit.
  root@ubuntu:/opt/hadoop#.
  </code></pre>