3 Replies Latest reply: Aug 9, 2012 12:58 AM by 954765 RSS

    Applets are not running after installing Java for OS X 2012-004

    944904
      I updated my mac mini with latest OS X updates and the Java for OS X 2012-004 got installed .
      now i am not able to run any applets in my application .
      I have enabled the applet plugin and all settings looks fine .
      I found out that the applet code needs to be fixed to work with the new update released by apple.
      Can any one help me with what needs to be fixed in the applet code ?

      thanks
      raj
        • 1. Re: Applets are not running after installing Java for OS X 2012-004
          944904
          <object
               classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
               name="browseandUpload"
               codebase="https://java.sun.com/update/1.5.0/jinstall-1_5_0_03-windowsi586.
          cab#Version=1,5,0,0"
               width="490" height="130">
               <param name="java_code" value="FileBrowseApplet.class">
               <param name="java_archive" value="/fileBrowse.jar">
               <param name="type"
                    value="application/x-java-applet;version=1.5">
               <param name="autoexec" value="true">
               <param name="autostart" value="-1">
               <param name="embedded" value="true">
               <param name="bgColor" value="#FFFFFF">
               <param name="onMore"
                    value="interactivetransfer.height = interactivetransfer.height * 3">
               <param name="onLess"
                    value="interactivetransfer.height = interactivetransfer.height / 3">
               <param name="cancelLabel" value="Close">
               <param name="onCancel" value="window.close();">
               <param name="mayscript" value="true">
               <param name="scriptable" value="true">
               <embed type="application/x-java-applet;version=1.5"
                    id="browseandUpload" width="490" height="130"
                    pluginspage="https://java.sun.com/j2se/1.5.0/download.html"
                    java_code="FileBrowseApplet.class"
                    java_archive="/fileBrowse.jar" autostart="-1" autoexec="true"
                    embedded="true" bgColor="#FFFFFF"
                    onMore="interactivetransfer.height = interactivetransfer.height * 3"
                    onLess="interactivetransfer.height = interactivetransfer.height / 3"
                    cancelLabel="Close" onCancel="window.close();"
                    mayscript="true" scriptable="true" /> <noembed>
               This application requires a Java Runtime Plug-in. </noembed> </object>
          • 2. Re: Applets are not running after installing Java for OS X 2012-004
            947907
            We had a similar issue, and ended up changing the embed code by removing the "java_" prefix from the code and archive attributes. After making the change the applet would load in Firefox, Chrome and Safari on OS X.
            • 3. Re: Applets are not running after installing Java for OS X 2012-004
              954765
              We had a similar problem too.
              Do you know why.