title: classNotFoundException when including applet un html file
body: <p>I've follow a lot of tutos and forum exemple and i've always the same problem.</p>
  <p>I've generated a jar file from an applet in netbeans, including class files from my project.
  My main class (containing the init() method) is in the package caiusapplet and is named CaiusWeb.</p>
  <p>My jar file and my html file are in the same directory, and there is the html code :</p>
  <pre><code>&lt;!DOCTYPE html&gt;
      &lt;html&gt;
         &lt;head&gt;
         &lt;title&gt;&lt;/title&gt;
              &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
         &lt;/head&gt;
         &lt;body&gt;
            &lt;applet code=&quot;caiusapplet.CaiusWeb&quot; archive=&quot;CaiusApplet.jar&quot;&gt;
            &lt;/applet&gt;
         &lt;/body&gt;
      &lt;/html&gt;
  &lt;/pre&gt; 
  </code></pre>
  <p>But I always have the same issue :</p>
  <pre><code>java.lang.ClassNotFoundException: caiusapplet.CaiusWeb.
  </code></pre>
  <p>Could you please help me?</p>
  <h2>Edit 1 :</h2>
  <p>I've change my html code to</p>
  <pre><code>&lt;OBJECT width=&quot;200&quot; height=&quot;200&quot; data=&quot;caiusapplet/CaiusWeb.class&quot; type=&quot;application/x-java-applet&quot;&gt;
          &lt;PARAM name=&quot;code&quot; value=&quot;caiusapplet/CaiusWeb.class&quot;&gt;
  &lt;/OBJECT&gt;
  </code></pre>
  
  <p>I've now another error message :</p>
  <p>Exception : java.lang.reflect.InvocationTargetException</p>
  <p>What's the matter ?
  Thanks</p>
  <h2>Edit 2 :</h2>
  <p>I've found what was wrong : there was a JFileChooser in my java code. I removed it : everything is working. So now : What's wrong with the JFileChooser and the applet : access rights ? Still trying... Tanks for your help, if you can say to me how work with JFileChooser... I'll be very grateful !</p>
  <h2>Edit 3 :</h2>
  <p>That's ok, if you have the same problem :
  Create au jar file manually from your .class files ans sign it, everything's now ok !
  Thaks a lot.</p>