Eclipse获取工作空间跟运行空间
System.out.println(System.getProperty("user.dir"));//当前工作空间 System.out.println(Platform.getInstanceLocation().getURL().getPath());//当前运行空间
System.out.println(System.getProperty("user.dir"));//当前工作空间 System.out.println(Platform.getInstanceLocation().getURL().getPath());//当前运行空间