View Single Post
Old 12-12-2004, 12:34 PM   #14 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
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.
__________________
GitS
Belisarius is offline   Reply With Quote