image: https://i.stack.imgur.com/nB9Ys.jpg
When ever i use file creation code .file is creating in eclipse home folder not inside my project
FileOutputStream fos = new FileOutputStream("filename.txt");
OutputStreamWriter osw = new OutputStreamWriter(fos, "utf-8");
Writer writer = new BufferedWriter(osw);
writer.write("something");
System.out.println("new file created ");[enter image description here][1]
do i need to change anything in eclipse conf file ? its really making me so trouble to read any file.i cant able to use relative path inside the any project