Forcing a different VM for every browser
Hi everyone!
I have to access two different applets from the same Windows machine, one requires Internet Explorer with JRE 1.3.1 and the other one any other browser with JRE 1.4.2.. I know this sounds like prehistory, but please bear with me X-)
Is there a way to tell the java-plugin which version to use, at a per-browser level?
I have complete control over the Windows machine and nearly complete over the JRE 1.3.1 applet, while nearly none over the 1.4.2 one..
Many thanks for your attention!
[528 byte] By [
Jorilxa] at [2007-11-27 7:01:37]

# 1
Hi
Not sure if this is what you're asking for but...
Presumably you're going to have different HTML for each applet, and I believe you can add this attribute to your OBJECT tag:
<OBJECT ID="yourApplet classid = "clsid:CAFEEFAC-0014-0002-0003-ABCDEFFEDCBA">
</OBJECT>
The three four-digit sections specify JVM version, so above it is 1.4.2_03.
So if you use different numbers for each applet, i.e for the 1.3.1 one.
<OBJECT ID="yourApplet classid = "clsid:CAFEEFAC-0013-0001-0000-ABCDEFFEDCBA">
</OBJECT>
Hope this helps.