>hi there!
>I am looking for changing the working directory, using j2se methods is
>it possible?
No. Part of the problem is defining what it would mean if thread A
changed it. What does thread B think?
What you do instead is define your own default directory, and in the
simplest case just feed it to File( dir, file) as the first parm.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
hack_tick - 24 Oct 2005 09:55 GMT
m...i was using Runtime.exec i forgot it had overloaded method,
public Process exec(String[] cmdarray,
String[] envp,
File dir)
throws IOException
it seems i didnt do my homework :-(
sorry for any trouble
> I am looking for changing the working directory,
You're looking for the wrong thing*. Why do you
think you need that?
* A 'NetworkClassLoader' (see ClassLoader docs.)
and a FileDialog or JFileChooser can get at any
resource in the local file system, permissions granted.
hack_tick - 24 Oct 2005 09:56 GMT
thx a lot, i will keep note of those ;-)