How can I play a WAV file using Java?
<p>I send WAV files using a client and server, but I want to play the WAV when it received.  I try this method but it did not work: </p>

<pre><code>Runtime.getRuntime().exec("C:\\Documents and   Settings\\Administratore\\Desktop\\gradpro\\test1\\s1.wav") ;
</code></pre>

<p>This the exception that I get: </p>

<blockquote>
  <p>"Error! It didn't work! java.io.IOException: Cannot run program "C:\Documents": CreateProcess error=193, %1 is not a valid Win32 application"</p>
</blockquote>

<p>What am I doing wrong?</p>
