System.getProperty取 -D后的key即可
public class Test { public static void main(String[] args){ System.out.println(System.getProperty("configurePath")); } }