I'm trying to compile some
java files using:
Runtime rtn = Runtime.getRuntime();
Process pr = rtn.exec(anArrayOfFiles);
The first element in the array anArrayOfFiles is = "javac", the rest being the location of the files. When I try to set the classpath in the above
string the new process just hangs. eg "javac -classpath c:\\myClasses". Is there a special way to format this string? or is it just not allowed?