Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Launching external application - platform dependency?

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

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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic