With java.io.File, one can call getCanonicalPath() to resolve symlinks (of a directory) even if the file does not exist. With the NIO Path, it seems toRealPath() only works for an existing file, is there a similar method to do this? Thanks Max