The situation insists you to issue more than one command (native or external) through Java Runtime Environment via (Runtime.getRuntime().exec("Cmd")).
Ideally speaking, there has to be a way to separate/distinguish the commands from one another.
Few search results in Google suggested to use a semicolon in between the commands as 'cmd1;cmd2' in exec() method.
I tried the same way but it did NOT work out. During my trial-and-effort, the white space character did the trick :)
But it did work in Unix flavours but NOT in windows :( and i am still finding out a way to resolve.
Hope to get it resolved soon..
discussing some technical aspects covering tools, frameworks, technologies etc (the areas where i m involved and getting experienced) - feel free to discuss!