Define user.home property on posix

This commit is contained in:
Joshua Warner 2014-05-01 11:26:27 -06:00
parent 451135aef3
commit 95cffe90b2

View File

@ -838,6 +838,8 @@ extern "C" JNIEXPORT jobjectArray JNICALL
add(e, array, index++, "user.dir=%s", getcwd(buffer, PATH_MAX));
}
add(e, array, index++, "user.home=%s", getenv("HOME"));
#endif // not Windows
{