run adobe file

Hi All,

I used the following code to run acrobat file

Runtime.getRuntime().exec("c:\\program files\\adobe\\reader 7.0\\reader\\acrord32 /p /h" + tempFile);

Here tempFile = "c:\abc.pdf"

But it gives IOException.

Could any one help me?

Is my code correct to run the pdf file.?

I located the adobe in the following location :

C:\Program Files\Adobe\Acrobat 7.0

Thanks in advance.

Message was edited by:

p.v.k.k

[483 byte] By [p.v.k.ka] at [2007-11-27 3:33:49]
# 1
Please any one help me!!!!!!
p.v.k.ka at 2007-7-12 8:36:56 > top of Java-index,Java Essentials,Java Programming...