I've been deving an IDE for Java, Assembly and JMM for the last two months, and have been able to have the JMM compiler to run through the IDE and compile the given code. For some reason, I cannot seem to find a way to do this with Java code. Is there any API call I can use to compile a given class or even somehow invoke javac and give it the necessary values through the command line?
Any help would be greatly appreciated!
The IDE: