Can not run Java Applets in Internet Explorer 11 using JRE 7u51

前端 未结 26 946
天命终不由人
天命终不由人 2020-12-14 22:18

Today I updated my Java version to 7u51. After the installation, I cleared Java Cache, browser\'s Cache, and logged into a secure website that uses an Applet to provide cert

相关标签:
26条回答
  • 2020-12-14 22:35

    Once Java(tm) Plug -In 2 SSV Helper was incompatible
    Above solution did not work for me.
    I solved it with the below instruction.
    1. Go to IE settings
    2. Internet options
    3. Select Advanced tab
    4. Scroll down to Security
    5. Uncheck “Enable Enhanced Protected Mode”
    6. Click OK and restart the browser

    0 讨论(0)
  • 2020-12-14 22:35

    Had the same problem recently on IE11 with Windows 7. Applets worked fine before but they stop working from one day to another. I solved it adding the applet sites to trusted sites and config this with low security level.

    0 讨论(0)
  • 2020-12-14 22:35

    I had similar problem and I've solved them using embed tag instead of object. I'm deploying applet using JQuery and:

    • embed works on IE 11, Firefox 26.0,
    • object works on Firefox 26.0, Chrome 32, (on IE 11 was about 10 second delay after each page reload) and
    • applet works on Firefox 26.0, Chrome 32.

    I put draft of my script bellow:

    var baseurl = location.protocol + "//" + location.host + "//";
    var common = 'id="appletid"'; // and more
    if (priv.IsIE()) {
        var embedTag = '<embed ' + common +
        ' code="main.java.MyApplet.class"' +
        ' name="' + appletName + '"' +
        ' codebase="' + baseurl + 'Applet"' +
        ' archive="Applet.jar,jna.jar"' +
        ' scriptable="true"' +
        ' mayscript="true"' +
        ' cache_option="Plugin"' +
        ' codebase_lookup="false"' +
        '></embed>';
        appletHtml = embedTag;
    } else {
        var objectTag = '<object' + common + '>' +
        '<param name="java_code" value="main/java/MyApplet.class" />' +
        '<param name="mayscript" value="true" />' +
        '<param name="scriptable" value="true" />' +
        '<param name="cache_option" value="Plugin" />' +
        '<param name="codebase_lookup" value="false" />' +
        '<param name="java_codebase" value="' + baseurl + 'Applet" />' +
        '<param name="cache_archive" value="Applet.jar,jna.jar" />' +
        '</object>';
        appletHtml = objectTag;
    }
    $('body').append(appletHtml);
    
    0 讨论(0)
  • 2020-12-14 22:37

    If you are running Windows 7 64-bit, I would strongly suggest you download the 64-bit Java installer. There is no sense in downloading the x86 installer on an x64 based OS.

    That corrected the problem for me.

    0 讨论(0)
  • 2020-12-14 22:38

    This type of issue is cropping up again using the Windows 8 / IE 11 combination with the new version of Java (1.8.0_31). The installation seems to work, but after installing Java via the Java Control Panel Update tab, every time you run a Java applet you are told your version of Java is outdated, but when you follow the prompts to again update, you are told your version of Java is newer than the one on the web.

    As with a previous iteration of such problems, what worked for me was, after installation, unchecking "Internet Options | Security | Enable Protected Mode", running a Java applet and then re-checking it and everything is fine.

    Do people at Oracle not test on Windows 8 with IE or does this only happen for people with particular extensions enabled?

    As before, this problem didn't happen on Windows 7, but there I noticed that the SSLv3 changes now prevent you from running a local applet in Internet Explorer unless you remove that line from the java.security file. But this problem doesn't happen on Windows 8, so it is not clear what is actually happening.

    If Oracle doesn't make the update process less rocky, people won't update. I've seen many people lately using 2009 versions of JRE 1.6. That is the sort of situation that often doesn't end well.

    0 讨论(0)
  • 2020-12-14 22:38

    I had a REAL problem finding jre 7u45 to download and re-install after 7u51 screwed up my Windows 7 system. I logged in to my Slackware Linux box and downloaded jre 7u45 this way:

    wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "https://edelivery.oracle.com/otn-pub/java/jdk/7u45-b18/jre-7u45-windows-x64.exe"
    
    wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "https://edelivery.oracle.com/otn-pub/java/jdk/7u45-b18/jre-7u45-windows-i586.exe"
    

    Then I put the files on a USB stick and installed the x64 version on my Windows system.

    0 讨论(0)
提交回复
热议问题