SyntaxFix
Write A Post
Hire A Developer
Questions
This is not right. Here's how you should use Runtime.exec(). You might also try its more modern cousin, ProcessBuilder:
Runtime.exec()
ProcessBuilder
Java Runtime.getRuntime().exec() alternatives