Java user.home Directory under macOS wrong

Viewed 33

I wrote a multi-platform installation routine in Java. Because of "user.home", I expect that the files are copied into the user home directory. Under "/Users/user". In Windows, it works fine, but in macOS the files were copied into "/var/root". Does anyone have an idea why this is like this and how I can fix that issue?

0 Answers
Related