This discussion is archived
7 Replies Latest reply: Oct 14, 2013 12:43 PM by jschellSomeoneStoleMyAlias RSS

java equivalent of a c# functionality

Gen.Java Newbie
Currently Being Moderated

Hi all.


In c#, you can use System.Reflection.Emit.DynamicMethod to generate compiled code at runtime. Is there equivalent functionality in java? I know that to use a compiler, you need a JDK, but if you only have a JRE, is there a way to generate compiled code at runtime?


Thank you.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points