Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Launching PDF files  RSS feed

 
Kate Zoy
Ranch Hand
Posts: 33
  • 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: 9429
12
Linux Mac OS X Windows
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!