title: javac: invalid flag: activation-1.1.jar
body: <p>I'm using Tomcat7 , jdk 1.7.0_55 &amp; eclipse, when I trying to compile the entire project(Java Code) using COMMAND PROMPT, its showing Error Like 
  javac: invalid flag: D:\COMPILE\lib\activation-1.1.jar.
  The given below steps are followed to compile the code.</p>
  
  <pre><code>Step.1: dir *.java /s /b &gt; FilesList.txt
  Step.2: javac @FilesList.txt -d compiledCode -cp D:\COMPILE\lib\*.jar
  </code></pre>
  
  <p>After run the Step.2 command its showing Error.so I removed the error jar file from my lib folder &amp; run the command but its showing same error with another jar.</p>
  
  <p>Note: I Already have ANT build.xml but I want to compile the project through COMMAND PROMPT.</p>