JAVA中获取当前应用程序的路径

    String path = System.getProperty("user.dir");
    System.out.println(path); 

你可能感兴趣的:(java,String,Path)