Paul,

This is one of those bugs people have been complaining
about since Java came out. I am not sure what they mean by
"one more way for a multithreaded program to go awry, as
well as introduce incompatibilities". There are
multi-threaded non-java programs that work with System call
chdir() (or its equivalent). I don't get it. If it is
JVM implementation shortcoming they should fix it but
not call it an RFE (request for enhancement).

Being able to change the notion of current directory of the
process is fundamental concept in most modern OSes.

Here is the RFE that describes the problem -

http://developer.java.sun.com/developer/bugParade/bugs/4045688.html

There are more such issues in other area of Java i.e. AWT and Swing
(Drag and Drop and Clipboard etc) which frustrate me, because
it stops me from implementing apps in Java which are *atleast*
as good as apps written in other languages. The customers
don't care when one tells them JVM doesn't support something that's
why the functionality is missing...they say then use C/C++ or whatever
other language...

-sandip

> -----Original Message-----
> From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 05, 2001 4:38 AM
> To: [EMAIL PROTECTED]
> Subject: How to set current working directory?
> 
> 
> Hi all,
> 
> Is there any way to set the current working directory in 
> Java.  I want to be able to change the beanshell's current 
> directory to the directory of the current source buffer so I 
> don't need to specify the full path of the source file to be 
> compiled. The beanshell has a cd command but it does not 
> appear to work.
> 
> - Paul
> 

Reply via email to