File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Launching external application - platform dependency? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Launching external application - platform dependency?" Watch "Launching external application - platform dependency?" New topic
Author

Launching external application - platform dependency?

Malte Wannerskog
Ranch Hand

Joined: Jan 06, 2011
Posts: 92

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!


OCPJP (310-065) - 88%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Launching external application - platform dependency?