This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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: 9126
    
    9

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


[How To Ask Questions On JavaRanch]
 
Don't get me started about those stupid light bulbs.
 
subject: Launching PDF files
 
It's not a secret anymore!