HOWTO: Automatically Update the Microsoft VM for Java

Last reviewed: January 29, 1998
Article ID: Q163638
The information in this article applies to:
  • Microsoft Win32 Virtual Machine for Java on the following platform: x86
  • Microsoft Visual J++, version 1.0, 1.1 on the following platform: x86
  • Microsoft Internet Explorer (Programming), versions 3.0, 3.01, 3.02, 4.0

SUMMARY

If it is important that users who navigate to your Web page have the latest version of the Microsoft VM for Java (VM), you can automatically update their machine 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 (IE) to download and begin installing the most recent version of the VM:

    <OBJECT
    CLASSID="clsid:08B0E5C0-4FCB-11CF-AAA5-00401C608500"   WIDTH=0 HEIGHT=0
CODEBASE="http://www.microsoft.com/java/download/msjavx86.exe#Version=4,79, 0,xxxx">
    </OBJECT>

You should replace xxxx in the Object tag with the current version number. 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 2.0 which is available at http://www.microsoft.com/java/. If you wish to obtain only the Developer Classes go to http://www.microsoft.com/java/vm/debugdownload.htm

It is important that the VM is not currently in use when attempting to update. If you have previously run a Java Applet in this session of IE, please exit IE and then navigate directly to the page that contains the Object tag. If you are using Internet Explorer 4.0 with active desktop enabled, you may need to restart your machine to unload the Java VM.

If an automatic update is not necessary, the SDK for Java (available at http://www.microsoft.com/java/) contains a redistributable self- extracting executable that performs a complete installation of the retail Microsoft Win32 Virtual Machine for Java.

NOTE: The self-extracting executable version is also available for download directly at http://www.microsoft.com/java/.

If the latest 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,1518">
    </OBJECT>

If an automatic update is not necessary, the SDK for Java 1.51 (available at http://www.microsoft.com/java/) contains a redistributable self- extracting executable that performs a complete installation of the 1518 build of the retail Microsoft Win32 Virtual Machine for Java.

REFERENCES

For additional information on the current release of the VM, please refer to the following Knowledge Base article:

   ARTICLE-ID: Q163637
   TITLE     : "INFO: Availability of Current Build of Microsoft VM
               for Java"

REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:

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

Keywords          : kbenv kbusage JVM VJGenIss
Technology        : kbInetDev
Version           : 1.0 1.1 3.01 3.02
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 29, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.