title: Local Java applets not shown in Firefox
body: <p>I have problems running Java applets locally, i.e. the class files reside in the local file system, not on a server. The following example</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
      &lt;body&gt;
          &lt;applet code="Java10Test.class"
              width=200
              height=200
              codebase="http://www.cis.upenn.edu/~matuszek/General/JavaVersionTests/"
              &gt;
          &lt;/applet&gt;
          Text ...
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>works well with Firefox 23 and Oracle Java 7u25. But it does not work if I download <code>Java10Test.class</code> to my local machine and put it in the same folder as the <code>.html</code> no matter what codebase I use. I tried <code>codebase="."</code> and <code>codebase="file:///pathToTheFolder"</code> without success. Firefox does not even reserve the 200x200 space for the applet. Java is also not started in the background (the Java console does not open as it does for all other applets), i.e. it is not a Java security issue. There are no warning/error messages.</p>
  
  <p>The local version works in Chrome without problems. The behaviour is reproducable on different machines (Mac/Linux).</p>
  
  <p>What is the correct way to use applets locally in Firefox? I need this for a system without access to the internet.</p>