#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Posts
    3
    Rep Power
    0

    Post why Firefox 23,24 and 25 doesn't download JRE using pluginspage tag?


    Requirement:
    While loading the java applet on a page, if the user system do not have plugin loaded then our code should redirect the user to get Java 1.6 plugin.

    At present I am using below two URL for automatically JRE6 download

    • IE : https://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,31 [When user tries to access the applet page from IE browser then he/she is getting pop-up message for JRE6 installation, provided that the user system don’t have any JRE installed]. This scenario is working IE8,9,10

    • Mozilla family : https://javadl.sun.com/webapps/download/AutoDL?BundleId=60336

    Code:
    <script language="javascript" >
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" name="OrderApplet"';
    WIDTH = 775 HEIGHT = 600  
    codebase="https:\/\/java.sun.com\/update\/1.6.0\/jinstall-6-windows-i586.cab">';
    …………
    <PARAM NAME = "type"  VALUE="application\/x-java-applet;version=1.6.0_31">';
    <PARAM NAME = "scriptable"   VALUE  = "true" >';
    ………
    <COMMENT>';
    <EMBED type="application\/x-java-applet;version=1.6"  
    ………
    pluginspage="https:\/\/javadl.sun.com\/webapps\/download\/AutoDL?BundleId=60336">
    <NOEMBED>
    <\/COMMENT>;
    <\/NOEMBED><\/EMBED>;
    <\/OBJECT>;
    </script>
    User is getting pop-up message for JRE6 installation with browser IE8, 9, and 10 and also with Mozilla Firefox 22, but it’s failing with latest version of Mozilla Firefox23,24 and 25.

    I have gone through so many sites but could find any reason for this behavior.

    I have provided JRE6 32-bit version download URL, here I don’t think so I’m doing any version incompatibility because both the JRE6 and Mozilla Firefox are 32-bit version. And 64 bit Firefox version is not available for windows.


    I’m not sure why the code is working with Firefox 22 and its lower version but doesn’t work with higher version than firefox22….like 23,24,25

    Can anyone help to sort out this issue?

    Thanks,
    Sumit
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Posts
    3
    Rep Power
    0

    Post


    No updates since 2 days?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    873
    Rep Power
    275
    have you tried redirecting to JRE7 download instead of JRE6?

    also, <script language="javascript"> is majorly outdated.
    you should use <script type="text/javascript"> (or just simply <script> if using html5 DOCTYPE <!DOCTYPE html>)
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Posts
    3
    Rep Power
    0

    Post


    Originally Posted by DonR
    have you tried redirecting to JRE7 download instead of JRE6?

    also, <script language="javascript"> is majorly outdated.
    you should use <script type="text/javascript"> (or just simply <script> if using html5 DOCTYPE <!DOCTYPE html>)
    Yes, I have also tried with JRE7 using below url
    Code:
    http://javadl.sun.com/webapps/download/GetFile/1.7.0_45-b18/windows-i586/xpiinstall.exe
    but this also didn't work out.

    I have also modified script tag to
    Code:
    <script type="text/javascript">.
    But I am wondering why Mozilla Firefox 23,24 and 25 doesn’t download the JRE based on the Url which I have mentioned in the ‘pluginspage’ tag. But the same works with Firefox version 22 and lesser.

    I have posed the same issue with Mozilla forum they suggested that Firefox 23 brought in a new Simplified interface for notifications of plugin installation.

    So, I’m confuse what next step should I follow to make this work.
    Any suggestion?

IMN logo majestic logo threadwatch logo seochat tools logo