• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Launching PDF files

 
Kate Zoy
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't an IO question, so let's move it to Java In General (intermediate) where there's more traffic.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic