java - Get path of execution - from where I start jar file -
can in java app find current path start jar file ?
path of execution ( example: c:\test\test_one> java -jar test.jar
c:\test\test_one
) ?
you can. within code can call system.getproperty("user.dir") return working directory of application.
Comments
Post a Comment