I have application build with Java Applets, which works fine for Windows 7 with IE 9. Now I'm trying move it to another environment. There is Internet Explorer 11.
To run applet I'm using Oracle Deployment Toolkit Script with latest version taken from https://www.java.com/js/deployJava.txt. But the script doesn't detect Java Plugin. It only redirects to page java.com
(suggesting to download latest JRE
).
But my browser has Java Plugin installed (here JRE 1.7.80):
There are also two SSV Helpers - maybe they cause the problem?
Java 8 (u144) cause the same problem.
Question:
How to detect Java Plugin in IE 11 and run applet?
Is it problem with deployJava.js
or IE 11 configuration?
More explanations:
Oracle deployJava.js
script uses such code to detect 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, restricted or disabled in IE 11. This topic on SO is here... anyone knows 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 can't create object
But running the same code in a bit older IE 11.09600 returns object:
[object] { }
I'm confused... Can Oracle do the script better?
Specification:
Internet Explorer 11, Version: 11.1480... Update Versions: 11.0.44
System: Windows Server
Java: tested with 1.8.144 and after 1.7.80
Applets run by Oracle deployJava.js