get the bytecode in byte[ ] from JavaCompiler
I want to use the javax.tools* ( Java Compiler API ) to compile the sourcecode ( inputed as String) on the fly. and DO NOT want to store the output [.class] file into hard disk, instead I
want the output bytecode to be directly available in some form ( say byte array ).
Is this possible ?
Please tell me the class and method which I can use for this.
Thanking you in advance .. !!