i want to run a package containing .class files from a
java program for this i have written:
Process tempProcess=Runtime.getRuntime().exec("java "+ mainClassName,null,new java.io.File(absolutePackagePath));
tempProcess.waitFor();
but the problem is that i am not able to given input to this tempProcess or see output of it.