But the problem is that //it does not go out from the //problem here line. and so i cannot go to the next step. Any ideas on implementation?
Not sure if this question is even thread related.
Is the issue related with being able to call runtime.exec()? Or is the question about starting a thread to do so. If the first, then this is not a thread question. If the second, then what is the issue? The example doesn't start a separate thread at all.