Hi Thanks for your response regards bhuvana On Tue, 08 Jun 2004 Bill Medland wrote : >On June 8, 2004 02:31 am, S Buvaneswari wrote: > > <P> > > Hi <BR> > > Can you please tell me how to check what version of wine is > > installed on Linux machine.<BR> curently I am using "rpm -q > > wine" in the console to check the wine version. <BR> > > Is the version information is stored anywhere else (ie. in any file > > or so) ?<BR> My requirement is to write a java program to retrieve > > the version of wine installed on Linux machine. Can any one help on this > > ?<BR> <BR> > > Thanks & Regards<BR> > > Bhuvaneswari S<BR> > >No, the version is almost certainly not stored in a file anywhere. (That >would be a risky thing to do since it could very easily get out of sync with >the actual executables). > >If the wine is installed under rpm then I would say that using rpm -q is the >best way to get the version. (I have known of one occasion in the past on >which it was more correct than the wine --version answer). Using rpm will >give much more accurate information including whose build of wine it is as >well as the version. > >Otherwise, as Mark said, use wine --version. > >I am really not knowledgeable about java but I would have thought that if you >are able to access the local filesystem to read a file then you should be >able to execute a command in the local system and read its output. > > > > > </P> > > <br><br> > > <A target="_blank" > > HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG > > SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com > >/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a> > >-- >Bill Medland >mailto:billmedland@xxxxxxxxxxxxxxxx >http://webhome.idirect.com/~kbmed