I Tried to open a pdf file using a statement
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + "Sample.pdf");
.
But I have not installed a pdf
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 Pdf
reader is not installed in the system. If the Pdf
reader is already installed this program is working perfect.