The information in this article applies to:
SYMPTOMSAccording to the documentation, System.getProperty("user.home") should return a String containing the user's home directory. Instead, the Microsoft virtual machine (Microsoft VM) returns the Java home directory, which is also returned by a call to System.getProperty("java.home"). RESOLUTIONWhile there are no known pure Java workarounds, there are a couple of things to try using Win32 code. To get the user's home directory, you could do the following:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. © Microsoft Corporation 1999, All Rights Reserved. Additional query words:
Keywords : kbdocfix kbJavaVM kbSDKJava kbVJ600bug kbGrpJava kbVJ600FAQ kbJavaVMFAQ |
Last Reviewed: October 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |