Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CWD in Sun ONE Studio

Status
Not open for further replies.

bjohnson13

Programmer
Feb 6, 2003
3
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top