2

When I right click on a .net exe file and go to "properties" and then "details" there is an entry named "File Version" which corresponds to the value specified in the System.Reflection.AssemblyFileVersion assembly attribute as well as an entry named "Product Version" which corresponds to the value specified in the System.Reflection.AssemblyVersion assembly attribute.

Can the same information be included in a jar (zip) file? If so, how?

John Smith
  • 4,416
  • 7
  • 41
  • 56

1 Answers1

3

java *.jar files commonly have a manifest file under /META-INF/MANIFEST.MF which might contain various attributes, among which is version information. for more information look here.

unfotunately reading the contents of this manifest isnt as simple as what you described for .net

Community
  • 1
  • 1
radai
  • 23,949
  • 10
  • 71
  • 115