Launch Acrobat Reader with Runtime.exec() under WINNT4, without absolut pat
843798May 27 2002 — edited Jul 22 2002Hi,
I would like to launch Acrobat Reader from a Swing application. This works fine with Runtime.exec() as long as I provide the full path to the AcroRd32.exe. The problem is that I cannot predict the location of this exe on the systems of the users. Athough is in the Windows PATH, since I can launch from the windows execute-dialog, the Runtime.exec() is not able to locate the file.
How can I solve this problem?
Thanks a lot!
Horst