[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java

Vladimir G Ivanovic writes:
 > I feel that the concept of a "current working directory" doesn't belong
 > in the definition of a language. In a library that deals with files,
 > yes, but in the language, no.

So, is java.lang.Runtime part of the library or part of the language?
I guess since it's not in the JLS, it's part of the library, but why
is the package called "lang"?

(java.lang.Runtime.exec() depends on the current working directory, and
only since 1.3 has it let you actually specify a different working
directory for the exec'd process.)