How to Check A PDF reader Is Installed With Java
<p>I Tried to open a pdf file using a statement</p>

<p><code>Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + "Sample.pdf");</code>.</p>

<p>But I have not installed a <code>pdf</code> reader in my system. So it when I execute this program nothing is showing. No Exceptions are comming . Any idea getting the exception if the <code>Pdf</code> reader is not installed in the system. If the <code>Pdf</code> reader is already installed this program is working perfect. </p>
