I'm wondering if it is possible to retrieve, in runtime, a version number of a jar from which the class comes from?
I know its possible to find jar from which the class comes from:
MyClass.class.getProtectionDomain().getCodeSource().getLocation().getPath();
but what about a version?
(assuming its not in the file name:) )