Compile a Java file... with a Java program

Viewed 5850

Is it possible for a program written in Java to compile a file using the JDK compiler (aside from using Java to open command prompt and throw the "javac" command at it to compile the file)?

3 Answers
Related