only test

javac -classpath /usr/lib/hadoop-0.20-mapreduce/hadoop-core-2.0.0-mr1-cdh4.7.0.jar:/usr/lib/hadoop/hadoop-common-2.0.0-cdh4.7.0.jar:/usr/lib/hadoop/hadoop-common-2.0.0-cdh4.7.0.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-ant-2.0.0-mr1-cdh4.7.0.jar:/usr/lib/hadoop/hadoop-annotations-2.0.0-cdh4.7.0.jar -d ~/Desktop/casjoin/test2classes test2.java


jar -cvf test2.jar -C test2classes/ .



 hadoop jar ~/Desktop/casjoin/test2.jar test2 r s out2


(r and s are directories)