added HADOOP_CLASSPATH and changed parameter order

Without these changes it didn't work for me. I used this tutorial:
http://grepalex.com/2013/02/25/hadoop-libjars/