Java - Exec - How to call an external Program

> Procedural Languages > Java

1 - Snippets

String[] args = {"C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe","Path\To\my\File"};
Runtime.getRuntime().exec(args);

2 - Library

Advertising

3 - Documentation / Reference