HOWTO: Automatically Update the Microsoft Virtual Machine

Q163638


The information in this article applies to:


SUMMARY

If it is important that users who navigate to your Web page have the latest version of the Microsoft virtual machine (Microsoft VM), you can automatically update their computers by including the Object tag from the MORE INFORMATION section of this article on your Web page.


MORE INFORMATION

Place the following Object tag on your page to cause Internet Explorer to download and begin installing the most recent version of the Microsoft VM:


   <OBJECT CLASSID="clsid:08B0E5C0-4FCB-11CF-AAA5-00401C608500" WIDTH=0
   HEIGHT=0 CODEBASE="http://www.microsoft.com/java/download/ 
   msjavx86.exe#Version=5,0,xxxx,0"> </OBJECT> 
You should replace xxxx in the Object tag with the current version number. Note that when you paste this code from a Web page you need to remove the <> from around the hyperlink. Please see the Knowledge Base article mentioned in the REFERENCES section of this article to determine the current version number.

The Object tag above installs the retail (non-debug) version of the classes on the local machine. On a Java development machine, you would want to maintain the debug version of the classes to allow debugging system classes. These classes are included and installed with the SDK for Java, which is available on the following Web site:
http://www.microsoft.com/java/
It is important that the Microsoft VM is not currently in use when attempting to update. If you have previously run a Java Applet in this session of Internet Explorer, please exit Internet Explorer and then navigate directly to the page that contains the Object tag. If you are using Internet Explorer 4.0x with active desktop enabled and you have previously run a Java Applet since the time the machine was restarted, you may need to restart your machine to unload the VM.

If an automatic update is not necessary, the SDK for Java contains a redistributable self-extracting executable that performs a complete installation of the retail Microsoft Win32 Microsoft virtual machine, and is available on the Web site noted above. Note: The self-extracting executable version is also available for download directly on the same Web site.

If the latest Microsoft VM from the Internet Explorer 3.02 release is still required, it can be obtained with the following OBJECT tag instead of the one listed above:

<OBJECT CLASSID="clsid:08B0E5C0-4FCB-11CF-AAA5-00401C608500"
CODEBASE="http://www.microsoft.com/java/ie30java.cab#Version=1,0,0,1520"></OBJECT> 
If an automatic update is not necessary, the SDK for Java 1.51 contains a redistributable self-extracting executable that performs a complete installation of the 1520 build of the retail Microsoft Win32 Microsoft virtual machine, and is available on the same Web site referenced above.


REFERENCES

For additional information about obtaining the latest version of the Microsoft VM, click the article number below to view the article in the Microsoft Knowledge Base:

Q163637 INFO: Availability of Current Build of Microsoft VM
For the latest Microsoft Knowledge Base articles and other support information on Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support Web site:
http://support.microsoft.com/support/visualj/

http://support.microsoft.com/support/java/

Additional query words:

Keywords : kbenv kbusage kbCOMt kbIE300 kbIE301 kbie401 kbJavaVM kbSDKJava kbVJ100 kbVJ110 kbVJ600 kbie401sp1 kbie401sp2 kbGrpDSInet kbie500 kbVJ600FAQ kbJavaVMFAQ kbJavaFAQ kbie550
Issue type : kbhowto
Technology : kbVJsearch kbIEsearch kbAudDeveloper kbSDKIESearch kbSDKIE300 kbSDKIE301 kbSDKIE302 kbSDKIE400 kbSDKIE401 kbSDKIE500 kbSDKIE550 kbVMSearch kbVJ100 kbVJ110 kbVJ600


Last Reviewed: April 4, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.