How to get the current working directory in JAVA

System.getProperty( "user.dir" );