String propertiesFileLocation ="./myConfig.properties";
//文件的路径和运行程序所在的目录有关,运行文件的所在工程的目录极为根目录
Properties props = new Properties();
FileInputStream fis = new FileInputStream(propertiesFileLocation);
props.load(fis);
jarLocation = props.getProperty("datasweepConfig");