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

</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>