System.getProperty [1]

指定のシステム・プロパティを取得します。

System.out.println(System.getProperty("user.dir"));