The change user.dir
doesn't make sense as it is read-only: the working directory of your JVM process (usually the current working directory that you start in java
).
If the value is user.dir
not what you want, you can usually launch your application from a different directory.
source
to share