Let's say,
I have a Java class JavaClass1.java.I am executing 2 batch files from this Java class. Each .bat files starts another Java application. Lets say these other two app takes 15 hour each to complete, and they are also not dependent to each other.
How can I solve this issue. I dont have to wait for one to complete so that I have to start another, I can do it simultaneously also.
I found people talking about handelling outputstream, inputstream and error stream, if I wait for the errors to handle, then I have to wait 15 hours for each. I dont want to do that.
Is there any way? Please suggest. Thanks