| Author |
unable to locate the Temporary file
|
Siva kandasamy
Ranch Hand
Joined: Dec 31, 2002
Posts: 139
|
|
Hi there, See the code below. Please help, I am unable to locate the Temporary file "pattern.txt" after execution in UNIX environment. thanks siva
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
Just use something like System.out.println(temp.getAbsolutePath()) to display the file's name and path, and then you'll know where to find it. Note, also, that empty "catch" blocks like this are the easiest, cheapest way to drive yourself completely insane while debugging. Always at the very least call e.printStackTrace() so that you know a problem occurred.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: unable to locate the Temporary file
|
|
|