Skip to main content
added 122 characters in body
Source Link
kripindas
  • 480
  • 2
  • 7
  • 21

Try this

The currentpath is the root folder of your current java project. It can be retrieved by using System Property Function

String currentpath = System.getProperty("user.dir"); System.out.println("current path is:" + currentpath); 

Try this

String currentpath = System.getProperty("user.dir"); System.out.println("current path is:" + currentpath); 

Try this

The currentpath is the root folder of your current java project. It can be retrieved by using System Property Function

String currentpath = System.getProperty("user.dir"); System.out.println("current path is:" + currentpath); 
Source Link
kripindas
  • 480
  • 2
  • 7
  • 21

Try this

String currentpath = System.getProperty("user.dir"); System.out.println("current path is:" + currentpath);