SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
String path = new File("").getAbsolutePath();