title: Annotations are only available if source level is 5.0 syntax error java
body: <p>I am compiling a normal java program with <code>@Override</code> annotation(I downloaded a source from internet from some tutorial). Now the <code>javac</code> is complaing that </p>
  
  <p><code>annotations are only available if source level is 5.0</code> </p>
  
  <p>Every question on SO or other site relates this to eclipse but I am not using eclipse. I am compiling the code from command line. How can I resolve the problem. </p>
  
  <p>Here is some information that may be useful:</p>
  
  <pre><code>$java -version
   java version "1.6.0_13-b03
   (some other not so useful info)
  </code></pre>
  
  <p>Edit:</p>
  
  <pre><code>$javac -version
   Eclipse Java Compiler v_677_R32x, 3.2.1 release,....
  </code></pre>
  
  <p>Command for compiling:</p>
  
  <pre><code>javac User.java
  </code></pre>
  
  <p><code>User.java</code> is just normal java file. No errors there for sure except this one.</p>