获取程序运行的绝对路径
String classPath = this.getClass().getResource("/").getPath();
解决中文乱码问题
String classPath = URLDecoder.decode(classPath,"utf-8");
String classPath = this.getClass().getResource("/").getPath();
String classPath = URLDecoder.decode(classPath,"utf-8");