This discussion is archived
1 Reply Latest reply: Dec 4, 2007 4:38 AM by 807603 RSS

How to Know the jar file version

807603 Newbie
Currently Being Moderated
Hi,
Can you help me, how to findout the jar file version fom the command prompt?

Thanks
Ashok Allu
  • 1. Re: How to Know the jar file version
    807603 Newbie
    Currently Being Moderated
    I believe the version is in the manifest (usually). Here's a small sample manifest:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 1.6.0_03-b05 (Sun Microsystems Inc.)
    ...
    ...
    So just read the manifest, and parse the text following "Created-By:"

    laginimaineb.