Forum Stats

  • 3,759,048 Users
  • 2,251,495 Discussions
  • 7,870,477 Comments

Discussions

Changing directory

843798
843798 Member Posts: 24,864
edited Jun 26, 2001 3:30PM in Java Runtime Environment (JRE)
Hi,

Does anyone have any working examples of changing directories in UNIX using the Java Runtime api? If not, is this a bug and what is the bug number?

I have tried:

System.setProperty("user.dir", somedirectory);
Runtime.exec(some_command);

And it definitely does not work. I am using JDK 1.3 running on Solaris. My impression of Java's runtime api are getting worst after researching previous topics on this forum similar to my own over the last year. Lot's of questions and very little positive answers. There are lots of examples for NT and Windows 2000.

Comments

This discussion has been closed.