The version information should be included in the Manifest file inside the Jar. The JDK comes with some classes that will let you get to that elegantly.
Otis --- Paul Mellor <[EMAIL PROTECTED]> wrote: > Hi guys, > > Just a quick query - is there any way that I can determine at runtime > the > version of Lucene that I am using? I'm upgrading a system from v1.3 > to > v1.4.3 and I would like to be able to print out the version at > startup so > that I can be sure that I have got my paths all correct and haven't > done > anything stupid like replaced the wrong JAR! > > Thanks > > Paul > > This e-mail and any files transmitted with it are confidential and > intended > solely for the use of the individual or entity to whom they are > addressed. > If you are not the intended recipient, you should not copy, > retransmit or > use the e-mail and/or files transmitted with it and should not > disclose > their contents. In such a case, please notify > [EMAIL PROTECTED] > and delete the message from your own system. Any opinions expressed > in this > e-mail and/or files transmitted with it that do not relate to the > official > business of this company are those solely of the author and should > not be > interpreted as being endorsed by this company. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]