This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Pluginspage is not working in embed script in firefox 36 version. Actually wanna downlaod jre 1.8 . It was working on firefox 22 version. Please suggest

  • 1 èsì
  • 3 ní àwọn ìṣòro yìí
  • 3 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ guigs

more options
function createEmbed(divID, context, locale, server,client)
{
  
var d = document.getElementById(divID);
    d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+
                  'JAVA_CODEBASE="'+context+'" '+
                  'ARCHIVE="WebRAO.jar" '+
                  'NAME="WebRAOApplet" '+
                  'MAYSCRIPT="true" '+
                  'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+                                
                                  'L="'+locale+'"  ' +
                  'PinTimeout="'+server+'"'+
                  'ClientTimeout="'+client+'"'+
                  'separate_jvm="true"'+
                  'java_version="1.8.0_31" />';
}


We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

<pre><nowiki>function createEmbed(divID, context, locale, server,client) { var d = document.getElementById(divID); d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+ 'JAVA_CODEBASE="'+context+'" '+ 'ARCHIVE="WebRAO.jar" '+ 'NAME="WebRAOApplet" '+ 'MAYSCRIPT="true" '+ 'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+ 'L="'+locale+'" ' + 'PinTimeout="'+server+'"'+ 'ClientTimeout="'+client+'"'+ 'separate_jvm="true"'+ 'java_version="1.8.0_31" />'; }</nowiki></pre> We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

Ti ṣàtúnṣe nípa cor-el

All Replies (1)

more options

There are some updates happening to https://www.mozilla.org/en-US/plugincheck/

However to further investigate I would suggest troubleshooting the installation of Java:

*https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix...

Or also checking with Mozillazine or stackoverflow.com for compatibility and development troubleshooting is a good place to also look.