I added this to the code:
ProcessBuilder deleteJava = new ProcessBuilder("del", f.getAbsolutePath());
p = deleteJava.start();
processCheck(); //this just prints out errors from "p"...
Type: Posts; User: Andrew R
I added this to the code:
ProcessBuilder deleteJava = new ProcessBuilder("del", f.getAbsolutePath());
p = deleteJava.start();
processCheck(); //this just prints out errors from "p"...
I figured out what was the problem. Since new .java is ramdomly generated, I have to make sure that .java statement in it got the same name.
I am not ready to post my code yet.
After reading over the internet, having an OutputStream converted to a String could be too challenging, I wouldn't have the patience.
...
Hey Kevin,
I've been managing the exceptions thrown out, and I was attempting not to use the log, but send all output and exceptions to a String I later assign a method to retrieve it.
It seems...
I thought managing the exceptions is must, but guess thats only if the main doesnt throw anything.
I can take it from this point foward.
Thank you KevinWorkman.
I will test the demo and try it on on program.
P.S. lisp? Nvm I'll google it.
--- Update ---
I thank you so much.
Hello foums!
How are you? I've been wrestling for like about 2 weeks trying to nail this problem.
the Objective:
I am working on a main class that creates another .java, at the desired...