title: Putting servlet jar in CLASSPATH in windows 8.1
body: <p>I'm trying this on cmd:</p>
  
  <pre><code>javac -classpath .;C:\Users\Myname\Documents\Tomcat_Apache\apache-tomcat-8.0.20\lib\servlet-api.jar ;C:\Users\Myname\Documents\Tomcat_Apache\apache-tomcat-8.0.20\webapps\mybay\WEB-INF\lib\jsp-api.jar
  </code></pre>
  
  <p>I'm getting this :</p>
  
  <blockquote>
    <p>javac: invalid flag:
    C:\Users\Myname\Documents\Tomcat_Apache\apache-tomcat-8.0.20\webapps\mybay\WEB-INF\lib\jsp-api.jar</p>
    
    <p>Usage: javac 'options' 'source files'</p>
  </blockquote>
  
  <p>I need this in order to use <code>extends HttpServlet</code> in java.
  Can you help?</p>