I have installed Java plugin in IE 11. (Java Plug-in 10.45.2 - 32-bit and 64-bit)
navigator.mimeTypes is used to get list of installed plugins.
But we cannot get type for Java applet (application/x-java-applet).
And because of that, we don't run java applet though it's installed.
Does anybody has faced such issue or suggest any solution for that?
The best way to deploy a JWS app. or applet is to use the Deployment Toolkit Script provided by Oracle.
Microsoft introduced mimetypes in IE11 which means browser agnostic plugin detection of the Java plugin can now be used (IE11+ only of course). See http://msdn.microsoft.com/en-us/library/ie/dn423948%28v=vs.85%29.aspx
Starting with IE11, the navigator object supports plugins and mimeTypes properties.
Unfortunately, the JRE/plugin installer does not support IE mimetypes as at 1.7.0_67 and 1.8.0_20. According to the above, it needs to register the mimetypes in the Windows registry.
To support the new properties, plugins need to update the Registry when installed:
- Under HKLM\SOFTWARE\Microsoft\Internet Explorer\NavigatorPluginsList create a key using the name to be reported by the plugins property.
- Create subkeys for each custom MIME type supported by the plugin, using the MIME type value as the name of the subkey.
- For 64-bit environments, add the same Registry entries to HKLM\SOFTWARE\Wow6432\Microsoft\Internet Explorer\NavigatorPluginsList.
- Verify that unique MIME types are properly registered with the device loading the webpage, as well as the server hosting the webpage.
So, Microsoft finally joined the party, but Oracle have yet to arrive.
Until then use the problematic ActiveXObject (which reports disabled plugins as available).