Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dynamic compilation in memory

Gen.JavaApr 23 2013 — edited Apr 25 2013
Hello,

I have used javax.tools.ToolProvider to compile a simple class that comes from a CharSequence object in memory, and it works just fine.

Now, I need to reference another class that comes also from a CharSequence object in memory. Which method in the ForwardingJavaFileManager I should override to make this class available to the main class.

Thank you

The class I need to reference is in class (.class) format not the java source format (.java).

Edited by: Gen.Java on Apr 23, 2013 2:05 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2013
Added on Apr 23 2013
3 comments
284 views