To decide the working directory for a process is difficult. I have found a entry in wikipedia for working directory. And I have added some rules for deciding working directory in the wikipedia entry Working directory. You can refer to it for details.
For this reason, we should always try to use pathname relative to classpath instead of working directory in Java.
No comments:
Post a Comment