I need a to find file according to its name in directory tree. And then show a path to this file. I found something like this, but it search according extension. Could anybody h
Recursive directory search in Java is pretty darn easy. The java.io.File class has a listFiles() method that gives all the File children of a directory; there's also an isDirectory() method you call on a File to determine whether you should recursively search through a particular child.