title: Safari Issue: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file
body: <p>Facing issue invoking java applet from my jsf page using JNLP file on Safari browser in Windows:
  <strong>java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file</strong></p>
  
  <p>I am able to invoke the same applet properly in <strong>Firefox, Chrome and IE</strong>.</p>
  
  <p>This is how i am using the jnlp reference in my faces page:</p>
  
  <pre><code>&lt;object classid="java:my.oddc.client.SimpleScanApplet.class" 
                      type="application/x-java-applet"
                      height="100%" width="100%" &gt;
      &lt;param name="jnlp_href" value="/wcc/wcc/upload/scan_client.jnlp"/&gt;
      &lt;param name="ServerURL"
            value="#{pageFlowScope.UploadBean.scanFileURL}"/&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>Alternatively, i tried using embed and applet tags but didn't help. </p>
  
  <p>Also, i have a mandate to pass few parameters to the applet after invoking.</p>
  
  <p>The scan_client.jnlp file contains references to the required jars and nativelibs.</p>
  
  <p>Help appreciated..on what to make it work on Safari (Windows)?</p>