wood burning stoves 2.0*
The moose likes Java in General and the fly likes Launching PDF files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Launching PDF files" Watch "Launching PDF files" New topic
Author

Launching PDF files

Kate Zoy
Ranch Hand

Joined: Feb 11, 2004
Posts: 33
I need my program to launch the default PDF application with a sepcific file from whatever system it is running on. I've been using Runtime.getRuntime().exec(); but I've been told this command will only work on my specific computer, or a very few if lucky. How do I go about launching another program from mine? I've never done this before ^_^"
Thanks so much!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

This isn't an IO question, so let's move it to Java In General (intermediate) where there's more traffic.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
jQuery in Action, 2nd edition
 
subject: Launching PDF files
 
Similar Threads
Hi Need suggestions
java printing - printing a pdf
using Apache FOP to generate PDF from Java value objects
open a file in the external default program
Reading PDF from Java