IE 11 cannot find Java Plugin to run applet
I have an application build with Java applets that works great for Windows 7 with IE 9. Now I am trying to move it to a different environment. There is Internet Explorer 11 .
To run the applet I am using Oracle Deployment Toolkit Script with the latest version taken from https://www.java.com/js/deployJava.txt . But the script doesn't detect the Java plugin . It only redirects to the page java.com
(suggesting to download the latest version JRE
).
But my browser has a Java plugin installed (JRE 1.7.80 here):
There are also two SSV helpers - perhaps they are causing the problem?
Java 8 (u144) causes the same problem.
Question:
How to detect Java plugin in IE 11 and run applet?
Is this a configuration issue deployJava.js
or IE 11?
Additional explanations:
The Oracle deployJava.js
script uses code like this to detect the JRE version in IE ( deployJava source - lines 1172-1188 ):
testUsingActiveX: function(version) {
var objectName = 'JavaWebStart.isInstalled.' + version + '.0';
// we need the typeof check here for this to run on FF/Chrome
// the check needs to be in place here - cannot even pass ActiveXObject
// as arg to another function
if (typeof ActiveXObject == 'undefined' || !ActiveXObject) {
log('[testUsingActiveX()] Browser claims to be IE, but no ActiveXObject object?');
return false;
}
try {
return (new ActiveXObject(objectName) != null);
} catch (exception) {
return false;
}
},
Unfortunately ActiveX seems to be limited, limited, or disabled in IE 11. This SO section is here ... does anyone know any details?
I run manually (in IE 11.1480 developer console) this code:
new ActiveXObject('JavaWebStart.isInstalled.1.8.0.0');
which returns:
Automation server cannot create object
But running the same code in a little older IE 11.09600 returns an object:
[an object] {}
I'm confused ... Can Oracle make the script better?
Specifications:
Internet Explorer 11 Version: 11.1480 ... Version Versions: 11.0.44
System: Windows Server
Java: tested with 1.8.144 and after 1.7.80
Applets executed by Oracle deployJava.js
source to share
I found a solution:
Applers require a 32-bit JRE installed on the client machine (and as an IE plugin). Or, more specifically, the IE ActiveX engine only works with 32-bit Java, because all IEs are 32-bit by default. There is also a 64-bit version of IE, but I haven't tried it.
I used the newest one JRE 1.8u144 32 bit
.
Some hints for those making applets work (even in 2017):
- Check your Internet Explorer version (32- or 64-bit) - see Help -> About Internet Explorer, if there is no 64-bit information then you are probably using 32-bit. Also check Windows Task Manager and look for * 32 processes. More info in other SO questions like this .
- Disabling ActiveX filtering can also help. But in my situation this was not necessary because IE displays a warning message about starting the Java plugin and I just need to accept that.
- I have disabled the option: Enable Protected Mode on the "Security" tab in the "Internet Options" window (for the Internet zone).
More details can be obtained from this discussion:
source to share
The above answer was helpful. But we have made an update to jre1.8.0_144. I reinstalled the 32-bit JDK on my system, which automatically integrated java-plug-in 11.144.2 as an add-on in my Internet Explorer 11. Also I could see the architecture of the plug-in both 32-bit and 64-bit.
It's good to download a 32-bit jre that will automatically configure the add-on you need. This fix caused IE to run applets.
source to share