Get the user home directory.
- Returns
- the home directory
Definition at line 345 of file Registry.java.
Referenced by org.libcsdbg.jtracer.Registry.getPrefix().
348 String path = retval.getCanonicalPath();
351 if (!retval.isDirectory())
352 msg =
"The user home directory '" + path +
"' doesn't exist";
354 else if (!retval.canRead())
355 msg =
"Can't access the user home directory '" + path +
"'";
358 throw new IOException(msg);
static File getHomeDirectory()
Get the user home directory.