I have the following problem:
I'm starting my java application as a daemon (onlinux). In my setup this means my user.dir is set to /root. However, I need to run an external program (with the Runtime->Process).
To be able to run this process, I need to have a user.dir that points to the same dir as where my external prgram resides.
Is there a way to change your user.dir at runtime?