Launch Adobe from Java

Hi all!

In my program I create a pdf document on the hard drive. My problem is that if I want to check it or print it, I have to go look for it and print it. Not a big deal but it's pretty time wasting.

Is there a way I can launch Adobe from java when the pdf is created so that I can print it off straight away?

Thanks!

Illu

[357 byte] By [Illua] at [2007-11-27 9:01:55]
# 1
Runtime.exec()
SomeoneElsea at 2007-7-12 21:32:02 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks SomeoneElse, I used the following code:Runtime.getRuntime().exec("cmd /c start C:/tmp/DefaultPageSize.pdf");I'm going to change the hard-coded location, I just wanted to get it working first.Cheers,Illu
Illua at 2007-7-12 21:32:02 > top of Java-index,Java Essentials,Java Programming...