bjohnson13
Programmer
I am trying to use Sun ONE Studio 4 CE to debug a program that reads in a data file. Like:
InputStream stream = new FileInputStream("test.dat"
;
The problem is that the file is not found even though it is in the directory where the projects files are. It appears that the current working directory (CWD) is not the project directory. It is found OK when running from the command line in the project directory.
Does anyone know how to set the current working directory for a Sun ONE Studio project?
InputStream stream = new FileInputStream("test.dat"
The problem is that the file is not found even though it is in the directory where the projects files are. It appears that the current working directory (CWD) is not the project directory. It is found OK when running from the command line in the project directory.
Does anyone know how to set the current working directory for a Sun ONE Studio project?