Java Programming - In IE7 CLSID In HTML File Not Working With 1.4 and 1.5 Plugins Installed
Thanks in advance.
I'm using JRE 1.4.2_03 with a CLSID attribute in my HTML file. It works fine with Internet Explorer 6. If I install a newer version of the JRE (i.e. 1.5.0) IE6 still uses the 1.4.2_03 plugin.
But, when we install Internet Explorer 7, IE ignores the CLSID in the HTML file and starts the 1.5.0 plugin.
Has anyone encountered this problem? If so, then how do I solve it?
Thanks.
Yes, I solved it by using this classid in the <OBJECT> tag in my HTML file:
classid = "clsid:CAFEEFAC-0014-0002-FFFF-ABCDEFFEDCBA"
The "FFFF" in the middle tells the IE browser to use the highest build of the major version of the JRE that you specifiy in the clsid. In the case of my example, above, the browser selects the highest build of JRE 1.4.2. But, the catch is that you have to install JRE 1.5.0 (I think it's 1.5.0_07) or later. Just install 1.5.0_11 and it will work. This may seem strange, but, for some reason, Sun didn't implment the fix in 1.4.