title: Class Not Found Exception when running appletviewer and html
body: <p>I am having difficulties running my program from the appletviewer or from the html file i have created. I can run my compiled .class file just fine and eclipse generates my image, but i can't recreate this outside eclipse. All of my files are in the same directory as well.</p>
  
  <p>AdvertisementApplet.html:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;AdvertisementApplet&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;center&gt;
  &lt;applet code=”AdvertisementApplet.class” width="400" height="300"&gt;&lt;/applet&gt;
  &lt;/center&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>AdvertisementApplet.java:</p>
  
  <pre><code>import javax.swing.JApplet;
  import java.awt.*;
  public class AdvertisementApplet extends JApplet{
  public void paint (Graphics page){
  page.setColor(Color.cyan);
  page.drawRect (50, 50, 40, 40);
  page.drawRect (80, 60, 40, 40);
  page.drawOval (50, 50, 40, 40);
  page.drawLine (50, 50, 40, 40);
  page.drawString("out of clutter, find simplicity.", 110, 70);
  page.drawString("—Albert Einstein", 130, 100);
      }
  }
  </code></pre>
  
  <p>error message:</p>
  
  <pre><code>load: class ”AdvertisementApplet.class” not found.
  java.lang.ClassNotFoundException: ”AdvertisementApplet.class”
  at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
  at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
  Exception: java.lang.ClassNotFoundException: ”AdvertisementApplet.class” 
  </code></pre>