How can we find out the version of jar files?

How can we find out the version of jar files?

book

Article ID: KB0088923

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:
============
How can we find out the version of the following jars?

-rw-r--r--  1 tibadm2 tibco  14345 Dec 18  2006 tibrvjms.jar
-rw-r--r--  1 tibadm2 tibco 302224 Dec 18  2006 tibjms.jar
-rw-r--r--  1 tibadm2 tibco  16653 Dec 18  2006 tibjmsapps.jar
-rw-r--r--  1 tibadm2 tibco 128790 Dec 18  2006 tibjmsadmin.jar
-rw-r--r--  1 tibadm2 tibco 194828 Dec 18  2006 tibcrypt.jar
-rw-r--r--  1 tibadm2 tibco   8809 Dec 18  2006 jta-spec1_0_1.jar
-rw-r--r--  1 tibadm2 tibco  98496 Dec 18  2006 jndi.jar
-rw-r--r--  1 tibadm2 tibco  26235 Dec 18  2006 jms.jar
-rw-r--r--  1 tibadm2 tibco  28404 Dec 18  2006 jaxp.jar

Envionment:
===========
All

Resolution:
===========

You could use the “java -jar” command to determine the specific version to a jar file.  Here is a sample output:

=====================
% cd /usr/tibco/ems512_linux64/ems/5.1/lib
% java -jar tibjms.jar

TIBCO Enterprise Message Service
Copyright 2003-2009 by TIBCO Software Inc.
All rights reserved.

Version 5.1.0 V10 2/4/2009
=====================

Issue/Introduction

How can we find out the version of jar files?