title: Creating Java applet using external JARS
body: <p>I've created a Java Applet in Netbeans that uses several external libraries. When I run the applet.java file within Netbeans it works fine and I'm trying to get the same result in a web page. </p>
  
  <p>When I run the automatically created applet.html-file in the build-folder it doesn't load the external library, even though I have specified them in APPLET archive-tag and moved them to the same folder.</p>
  
  <p>Here is my html-file: </p>
  
  <pre><code>&lt;HTML&gt;
  &lt;HEAD&gt;
     &lt;TITLE&gt;Applet HTML Page&lt;/TITLE&gt;
  &lt;/HEAD&gt;
  &lt;BODY&gt;
  
  &lt;H3&gt;&lt;HR WIDTH="100%"&gt;Applet HTML Page&lt;HR WIDTH="100%"&gt;&lt;/H3&gt;
  
  &lt;P&gt;
  &lt;APPLET codebase="classes" code="applet/MyApplet.class" width=350 height=200 archive="jcommon-1.0.17.jar,  jfreechart-1.0.14.jar, sqljdbc4.jar"&gt;&lt;/APPLET&gt;
  &lt;/P&gt;
  
  &lt;HR WIDTH="100%"&gt;&lt;FONT SIZE=-1&gt;&lt;I&gt;Generated by NetBeans IDE&lt;/I&gt;&lt;/FONT&gt;
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>The libraries are 3rd-party java (jfreeChart and SQL-JDBC-driver)</p>