The information in this article applies to:
SYMPTOMSThe Microsoft virtual machine (Microsoft VM) build 1518 and earlier returns null while attempting to use System.getProperty("user.name") to determine the users login name. RESOLUTIONThis is a bug and has been fixed in the Microsoft virtual machine that ships with the SDK 2.01 for Java. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in the Microsoft VM that is provided in the SDK 2.01 for Java. MORE INFORMATION
To reproduce the problem:
With earlier Microsoft VMs, this will return null. However
with the Microsoft VM included with the SDK 2.01 for
Java, it will correctly return the user's login name.
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ Additional query words: getProperty user name system properties
Keywords : kbcode kberrmsg kbSDKJava150bug kbSDKJava151bug kbSDKJava200bug kbSDKJava201fix JVM |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |