Get current directory in Java



This example shows how to get the value of the current directory.
It gets the value of a system property called “user.dir”;







Search for more Java info on this site here:
Custom Search


Please type any questions here.