I'm trying to make a program that will compile another program (long story) and I keep getting caught on this one piece of code.
When I send the javac command to compile the program, the program will lockup while waiting for it to be finished. It only happens when there are multiple classes that need to be compiled with the main class.
I assume it's because javac isn't finding the other classes to compile, but I haven't had this problem before. Any suggestions?
( Code SnippetCollapse )EDIT: Ok, so I found that I can just explicitly declare each file that needs to be compiled with the Main and, while it's a pain, it's doable. Still, this has brought up another question. How can I have my program determine if the (compiled) program had error messages or not?
Thanks for the help,
~Tai