Short answer: it goes into the "current working directory".
Long answer: Finding out where the current working directory is located is sometimes not that easy. It could be the bin directory of Eclipse or of Tomcat. If you launched Eclipse via a new item or shortcut, the current working directory could be specified in that shortcut. As an example, if you opened a terminal window, cd'ed to the Tomcat bin directory, and ran the startup script, the file would appear in the Tomcat bin directory.
One way to cheat: do:
File f = new File("job.txt");
and then pass 'f' tp the FileOutputStream.
You should be ablte to use f.getAbsolutePath() to get the full path name - send it to the log file or display it. Then you will know the directory.