FIX: System.getproperty("user.name") Returns Null
Article ID: 177175
Article Last Modified on 8/25/2005
APPLIES TO
- Microsoft Java Virtual Machine
- Microsoft Software Development Kit for Java 1.5
- Microsoft Software Development Kit for Java 1.51
- Microsoft Software Development Kit for Java 2.02
This article was previously published under Q177175
SYMPTOMS
The 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.
RESOLUTION
This is a bug and has been fixed in the Microsoft virtual machine
that ships with the SDK 2.01 for Java.
STATUS
Microsoft 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.
REFERENCES
For 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:
Additional query words: getProperty user name system properties
Keywords: kberrmsg kbbug kbfix kbsdkjava201fix kbcode KB177175