The information in this article applies to:
SYMPTOMSWhen calling System.getProperty("user.home") the Java Virtual Machine (VM) ignores the HOME environment variable value. It always returns "<windir>\java" whether or not you set the HOME environment variable. MORE INFORMATIONSteps to Reproduce BehaviorCreate a java project and include the following class to it:
This always returns <windir>\java (where <windir> is the location of your
Windows 95, Windows 98, or Windows NT installation), no matter which
directory you set the HOME environment variable to.
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java,
please see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ Additional query words: System properties home
Keywords : kbSDKJava300 kbSDKJava310 JVM kbSDKJava320 |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |