Article ID: 177181
Article Last Modified on 6/14/2006
class TestProperty
{
public static void main(String args[])
{
System.out.println(System.getProperty("user.home"));
}
}
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.
Additional query words: System properties home
Keywords: kbprb KB177181