how to get a files location using eclipse by itself code example Example: how to get a files location using eclipse by itself System.getproperty("user.dir");