Merge pull request #252 from joshuawarner32/master

Define user.home property on posix
This commit is contained in:
Joel Dice 2014-05-01 12:42:18 -06:00
commit 8673389fdc

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
{