The IJavaExecute2 interface has the following methods:
SetClassSource inserts a special source of classes into the class path. SetSystemProperties sets property values for java.lang.System.