compilation - Compile and execute java source file in memory -
say have string containing content of .java file. apis out there allow me compile source file virtual .class file (i.e. generate , store content in memory, not creating actual physical .class file on disk)? , "virtual" .class loaded , executed in jvm?
edit 1: reason want because sometimes, application might not have write permission.
use javacompiler this. think trick define custom javafilemanager.
Comments
Post a Comment