PRB: Getting Run-Time Error: java.lang.UnsatisfiedLinkError

Last reviewed: January 29, 1998
Article ID: Q169814
The information in this article applies to:
  • Microsoft Win32 Virtual Machine for Java

SYMPTOMS

Trying to run a basic Java Application using JView produces the following error message:

   Error: java.lang.UnsatisfiedLinkError
   Press any key to continue...

CAUSE

The problem occurs, when you try to install the updates for SDK Developer Classes from http://www.microsoft.com/visualj, after installing Visual J++ (VJ++) 1.0. The updated Classes.zip do not match with the Classes.zip that is already present in the VM directory of the VJ++ 1.0 CD.

RESOLUTION

To fix the problem, you need to upgrade to the latest Microsoft Virtual Machine (VM) for Java by visiting the Microsoft VM for Java Web page at http://www.microsoft.com/java and clicking Downloads.

MORE INFORMATION

The Visual J++ 1.0 setup program invokes a Web page as soon as you reboot your machine after completing the installation. This Web page links to http://www.microsoft.com/visualj, which contains the latest updates to Visual J++ 1.0. This problem occurs when you try to install the updates for SDK Developer Classes.

The SDK Developer Classes, which contain the updated versions of Classes.zip and TClasses.zip for Microsoft Visual J++ 1.0, require the latest Microsoft VM for Java, which you can upgrade by visiting http://www.microsoft.com/java and clicking downloads. This information is also documented in the same paragraph that talks about SDK Developer Classes. If you do not update the VM, you will get the previously mentioned error when running even a basic Java Application.

To download the latest Virtual Machine for Java, make sure you have installed Microsoft Internet Explorer 3.01 (available on http://www.microsoft.com/ie).

REFERENCES

For additional information on the availability of Current Build of Microsoft VM for Java, please refer to the following Knowledge-Base article:

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

For additional information on automatically updating your version of the Microsoft VM for Java, please refer to the following Knowledge Base article:

   ARTICLE-ID: Q163638
   TITLE     : HOWTO: Automatically Updating the Microsoft VM for Java

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          : kberrmsg kbsetup CmdLnUtils JVM VJMisc
Technology        : kbInetDev
Version           : WINDOWS:
Platform          : WINDOWS
Issue type        : kbprb


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


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.