title: There is no javax.servlet package in my JDK
body: <p>I am following <code>Head First: Servlet and JSP</code> and I was writing my first Servlet.<br>
  I tried to compile it using command line and I got an error that <code>package javax.servlet</code> does not exist.  </p>
  
  <p>So far, I have set the <code>JAVA_HOME</code> variable to the value: <code>C:\Program Files\Java\jdk1.7.0_11</code> 
  and the <code>PATH</code>  variable also to <code>C:\Program Files\Java\jdk1.7.0_11\bin</code></p>
  
  <p><strong>How do I get the <code>javax.servlet</code> package?</strong>  </p>
  
  <p>Also, I have installed <code>JDK 7 update 11</code> after the applet bug that was being exploited.<br>
  I have both <code>JDK Update 11</code> and <code>JDK Update 9</code> installed.<br>
  Should I get rid of <code>Update 9</code> or is it not needed ?  </p>
  
  <h2> Misc </h2>
  
  <p><strong>Operating System:</strong> Windows 7 Home Premium 32 bit  </p>
  
  <p><em>What I also tried:</em>  </p>
  
  <p><code>javac -cp .;D:\Program Files\apache-tomcat-7.0.35-windows-x86\apache-tomcat-7.0.35\lib\servlet-api.jar Ch1servlet.java</code>  </p>
  
  <p>I tried both forward slash AND backward slash. In both the cases I got an invalid flag error.</p>