This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Idle Musings: Correct value of "user.dir"


"Ranjit Mathew" <rmathew4lists at hotmail dot com> writes:

> Hi,
> 
>     The "user.dir" system property is used to indicate "User's current
> working directory" according to the Sun JDK 1.4.1 docs - however, is
> it the working directory *at the time of process creation* or *at the
> time of lookup*?

Yeah, the current working directory isn't possible to change under Sun's
JVM using the core libraries.  There are some hacks out there that do
it via JNI but Sun doesn't provide it... which is annoying enough to
consider fixing it ourselves.

Brian
-- 
Brian Jones <cbj at gnu dot org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]