There are a couple of Java system properties, among them things like java.home
and path.separator
, user.home
. The spec does not mention any formal promises on the existence of those values.
Especially I am interested in user.home
. Does it always point to some existing path?
user.home
is os dependent but it rarely gets it wrong – Herder~/.mycache
file on startup; do I need to explicitly check for the existence ofuser.home
beforehand? – GestaltFiles.createDirectories()
; if it fails you know the JVM lies to you ;) – Herder