i have a button inside a form and when i clicked the button i want to open my pdf file. i went googling and it says something about the Runtime.getRuntime().exec(); how do i use this to run my pdf file? please help.... 
JAVA Runtime.getRuntime().exec("HELP");
maybe you should try sth like this. I haven't tested it, I hope it works.
(in Windows)
(in Unix)
(in Windows)
| Code: |
| Runtime.getRuntime().exec(new String[]{"rundll32", "url.dll,FileProtocolHandler", "file.pdf" });
|
(in Unix)
| Code: |
| Runtime.getRuntime().exec(new String[]{"acroread", "file.pdf" }); |
