The version is taken from java.lang.Package.getSpecificationVersion(). Typically, this attribute is defined in the JAR manifest.