I need the version of the current java mail api jar used in the classpath. I can not use the
IMAPStore.class.getPackage().getImplementaionVersion()
because it returns null in our productive environment, because of
the custom class loader (jarsafe)
or
we extract all jars (including mail api and other 3rd party jars/libraries) in our release deployment products and put them into a single jar and the manifest information gets lost.
Does mail api support a method such as System.getProperty etc?