Compile in memory java source?

Discussion in 'Java' started by exits funnel, Sep 28, 2006.

  1. exits funnel

    exits funnel Guest

    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.

    -exits
    exits funnel, Sep 28, 2006
    #1
    1. Advertising

  2. 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
    Robert Klemme, Sep 28, 2006
    #2
    1. Advertising

  3. exits funnel wrote:
    > 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.


    Part of Java 1.6 !

    Arne
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=, Sep 30, 2006
    #3
  4. exits funnel

    ddimitrov Guest

    ddimitrov, Oct 1, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nagaraj
    Replies:
    1
    Views:
    823
    Lionel B
    Mar 1, 2007
  2. timjowers
    Replies:
    7
    Views:
    4,296
    heyjude
    Feb 2, 2011
  3. Replies:
    1
    Views:
    428
    Cowboy \(Gregory A. Beamer\)
    Apr 11, 2008
  4. Carter
    Replies:
    2
    Views:
    484
    Carter
    Mar 4, 2009
  5. fAnSKyer
    Replies:
    2
    Views:
    508
    Alf P. Steinbach
    Jun 7, 2009
Loading...

Share This Page