What is the effect of changing the "user.dir" system property?

What are the possible consequences of installing "user.dir"? Does jvm use this? If so, how? I read that we shouldn't change it, but no one gave a reason.

+3


source to share


1 answer


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.

+1


source







All Articles