0

Is it possible to Compile a .java file from within a java program and use that compiled java file for use within the java program. For use in scripting outside of the initial java program?

3
  • yes, You could compile any javasource file and initialize that file using classloader. Commented Jul 6, 2015 at 14:34
  • stackoverflow.com/questions/21544446/… Commented Jul 6, 2015 at 14:35
  • Other then the ClassLoader docs do you have any examples? Commented Jul 6, 2015 at 14:37

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.