获取程序地址

System.out.println(System.getProperty("user.dir"));
原文地址:https://www.cnblogs.com/dulute/p/10599405.html