Answers for "get jar directory java"

1

java get jar path

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