[zjy@asc-150-10 hadoop]$ mkdir wordcount
[zjy@asc-150-10 hadoop]$ javac -classpath hadoop-0.19.1-dev-4966-4780-core.jar -d wordcount src/examples/org/apache/hadoop/examples/WordCount.java
[zjy@asc-150-10 hadoop]$ jar -cvf ./wordcount.jar -C wordcount/ .
[zjy@asc-150-10 hadoop]$ hadoop jar /home/zjy/hadoop/wordcount.jar org.apache.hadoop.examples.WordCount input output
#####################################################################################