Re: Finding the path that my Application is running in
Re: Finding the path that my Application is running in
- Subject: Re: Finding the path that my Application is running in
- From: Markus Hitter <email@hidden>
- Date: Mon, 4 Feb 2002 20:07:53 +0100
Am Montag den, 4. Februar 2002, um 18:35, schrieb Evan Coyne Maloney:
Since you're using Java, there's a little trick for determining
the current working directory. Instantiate a File object with a
path of ".".
Ouch. This doesn't for a non-root user, does it?
Hopefully not, a random user should have write access to only
few well-known places outside his Home (like /tmp, /var/tmp).
Else, what would stop her/him from replacing the kernel?
Are NSBundle's path finding methods unavailable in Java?
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/