In order to use Sun's Java within an CHtmlView you must use an object tag within the HTML code with classid ="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93". This will override MS JVM and cause Sun's Java to be used. If you want MS JVM if it is installed, you would have to create an object and test for this condition and if it fails, attempt the above to load Sun Java. The exact syntax will vary depending on the browser. i.e. Internet Explorer uses the object tag, and Netscape will use the embed tag. http://forum.java.sun.com/thread.jspa?forumID=4&messageID=1771554&threadID=404947
the browser. i.e. Internet Explorer uses the object tag, and Netscape will use the embed tag.
http://forum.java.sun.com/thread.jspa?forumID=4&messageID=1771554&threadID=404947