desktop open doesn't work for some file types (jpg)
<p>I'm trying to make use of the new <code>Desktop</code> feature of java (1.6+) however it doesn't seem to work as well as the old (and dirty) way.</p>

<p>I'm successfully opening some files (videos ie .mov,3gp,mp4) in the expected program (VLC) however, when I try to open a jpg image, nothing happens!</p>

<p>I have made sure that this file type is associated with the default viewer (windows picture and fax viewer) and as it turns out, the old method of running:</p>

<pre><code>Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler "
        + file.getAbsolutePath());
</code></pre>

<p>.. is working just fine!</p>

<p>I thought the <code>Desktop</code> feature would be an improvement?</p>

<p>Can anyone explain the behaviour I am experiencing or point me in the right direction to resolve this in a cross-platform manner?</p>

<p>thanks, paul.</p>

<p>EDIT:</p>

<p>I'm only testing this on windows XP and understand the above snippet is windows only.</p>
