This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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: 8262

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Launching PDF files
 
Similar Threads
java printing - printing a pdf
Reading PDF from Java
Hi Need suggestions
open a file in the external default program
using Apache FOP to generate PDF from Java value objects