Java Obtenha desktop atual File home = FileSystemView.getFileSystemView().getHomeDirectory(); home.getAbsolutePath();