Re: Compile in memory java source?



Robert Klemme wrote:
On 28.09.2006 17:42, exits funnel wrote:
Hello,

Does anyone know of a java compiler which can be launched in process to compile an in memory representation of a java source file? Essentially, I generate some source on the fly and I'd like to avoid having to write it to disk and all the messiness (permissions, cleanup, etc) that come with that. I was surprised to find that javac didn't (as far as I could tell) support this interaction. Can anyone point me towards a tool which does what I need? Thanks in advance.

http://www.google.com/search?q=java+expression+compiler

FUP to c.l.j.s

robert

Thanks Robert for taking the time to reply. One of the tools that showed up in the search was Janino which looks promising. Thanks again.

-exits
.