compiling *during* program exectution

I am working on a natural language porject, and I want to be able to edit .java source files, compile them, and then run them all without ending program exectution. Am I looking for a JIT compiler, or something else?
[223 byte] By [MellowFish316a] at [2007-10-2 13:44:07]
# 1
Check out Runtime.exec which will allow you to run programs as though you ran them from the command line. You can base your processing around executing the compiler and then calling java to run the compiled classes.
JimDinosaura at 2007-7-13 11:40:05 > top of Java-index,Developer Tools,Java Compiler...
# 2

A few weeks ago I started a thread on a similar subject (http://forum.java.sun.com/thread.jspa?threadID=709140&tstart=15).

Reading 'The basics of Java class loaders' (http://www.javaworld.com/javaworld/jw-10-1996/jw-10-indepth.html) and 'Understanding the Java ClassLoader' (http://www-128.ibm.com/developerworks/edu/j-dw-javaclass-i.html) should help you.

BenEngbersa at 2007-7-13 11:40:05 > top of Java-index,Developer Tools,Java Compiler...