linux中Java获取路径可以调用System.getproperties().getProperty(property)方法,当property的值为user.home时,获取的是用户主目录。
技术文章 / 下载软件趣味内容 / 专业带飞