Java, reading a file from current directory?

Try

System.getProperty("user.dir")

It returns the current working directory.

Leave a Comment