Answers for "get current jar path 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