| I don't believe your environment is necessarily available to you when you access exec(); that is your classpath might not be set.
It sounds like what you should be looking into is class-loading. I don't know much about it myself, but it strikes me as a better way to load up bytecode than to attempt to execute it via exec(). Just google around for what you need. |