Answers for "java get jar execution directory"

1

java get jar execution directory

return new File(MyClass.class.getProtectionDomain().getCodeSource().getLocation()
    .toURI()).getPath();
Posted by: Guest on February-19-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language