I need to perform following steps:
- Let user write own code - no problem, it's just one interface to implement and I save a file
- Compile it - no problem, I used
ToolProvider.getSystemJavaCompiler()
and created .class file - Let user use this new code - here I am stuck. I have .class file and now what? I need somehow add it in my project and I don't know how.
Thanks for help!