File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Launching external application - platform dependency?

 
Malte Wannerskog
Ranch Hand
Posts: 92
Java PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am writing an application which i want to start a second external application.
I know this can be achived with Runtime.getRuntime().exec(), for example:



However, i want the solution to be platform independat. For example, lets say i want my application to launch skype.
I dont know if its a windows or apple system that will launch my application, and i dont know where skype is installed.

How would you approach this?

Thanks in advance!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic