title: Compiling hadoop 1.0.3 word count code
body: <pre><code>ayush@ayush-PC:/usr/local/hadoop$ bin/hadoop jar /home/ayush/Desktop/Hadoop-     WordCount/wordcount.jar Wordcount input output
  Exception in thread "main" java.io.IOException: Permission denied
      at java.io.UnixFileSystem.createFileExclusively(Native Method)
      at java.io.File.createTempFile(File.java:1879)
      at org.apache.hadoop.util.RunJar.main(RunJar.java:115)
  </code></pre>
  
  <p>I am getting this error. I am using jdk1.7 and Hadoop1.0.3</p>
  
  <p>Can anyone please tell how to get away with this error</p>