Hello,
Im trying to read from file placed in directory where class is placed. I use this statement:
BufferedReader in = new BufferedReader(new FileReader("subport.ini"
)
I've got File not found exception: java.io.FileNotFoundException: subport.ini (system cannot find file specified).
My question is:
How to specify file for read. I can't put direct path for FileReader constructor.
Greetings Arek
Im trying to read from file placed in directory where class is placed. I use this statement:
BufferedReader in = new BufferedReader(new FileReader("subport.ini"
I've got File not found exception: java.io.FileNotFoundException: subport.ini (system cannot find file specified).
My question is:
How to specify file for read. I can't put direct path for FileReader constructor.
Greetings Arek