Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force client to use msjvm 1

Status
Not open for further replies.

harmmeijer

Programmer
Mar 1, 2001
869
CN
There is a way to force the user to use the SUN java plugin for Internet explorer:

<OBJECT ID=&quot;SUN&quot; WIDTH=500 HEIGHT=120 CLASSID=&quot;CLSID:8AD9C840-044E-11d1-B3E9-00805F499D93&quot;>
<PARAM NAME=&quot;code&quot; value=&quot;test.class&quot;>
</OBJECT>

So if &quot;use java 1.4.... for <applet>..&quot; is not checked it will still use the plug in because of the object tag.

My problem is that all machines in the offece are configured to use the plug in but some not yet migrated modules depend on the msjvm so I need an object tag that specifys an applet that will run in the msjvm. I tried the following but it didn't work:

<object classid=&quot;clsid:004CE610-CCD1-11D0-A9BA-00A0C908DB5E&quot; id=&quot;MS&quot; name=&quot;MS&quot; width=&quot;500&quot; height=&quot;120&quot; code=&quot;test.class&quot;>
</object>




Greetings, Harm Meijer
 
look in ControlPanel->JavaPlugin, uncheck &quot;Microsoft Internet Explorer&quot; in the tab &quot;Browser&quot;

Ion Filipski
1c.bmp
 
Thank you for your response.
I asked my question wrong, I need to force the user to use the MSJVM with the HTML code.

Since the user does not have anything in the control panel and is missing the tools -> options -> advanced tab in Internet explorer he/she needs to call the helpdesk or someone with local admin privileges to change these settings.

We do have control over the applets and the pages that display them so we need to change SUN to MS in the HTML code.

One way to do this is to uncheck the &quot;use java 2.... for <applets>&quot; in tools -> options -> advanced (IE). This way the MSJVM will allways be used for <applet> tags.
Applets that need the SUN jre can be specified with the object tag.




Greetings, Harm Meijer
 
yes, there are many ways to do it. By the way, the tag applet for IE is depercated by SUN, so would be good IE browsers to use <applet> only for MS JVM.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top