I\'m using Eclipse and developing a java application where I use of a local file. The file is inside the project folder, in a subfolder, say \"mydata/myfile.txt\" When I run
Maybe this will help you
InputStream in=ClassLoader.getSystemResourceAsStream("your file");