Java examples for java.lang:System
get Current Working Path
//package com.java2s; public class Main { public static void main(String[] argv) throws Exception { System.out.println(getCurrentWorkingPath()); }//from ww w. j a v a 2 s .c o m public static String getCurrentWorkingPath() { return System.getProperty("user.dir"); } }