Package Version Identification

The versioning feature enables package-level version control so that applications and applets can identify at runtime the version of a specific Java Runtime Environment, VM, and class package.
Package Versioning Specification


Versioning API Reference
(javadoc)