java--获取本机桌面路径地址

//获取本机桌面地址

File desktopDir = FileSystemView.getFileSystemView() .getHomeDirectory();

String desktopPath = desktopDir.getAbsolutePath();

おすすめ

転載: blog.csdn.net/bpdwg888/article/details/88861883